<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [resolved] First job: tHttpRequest + tLogRow, then adding tFileOutputRaw in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196025#M362</link>
    <description>Hello Shong,
&lt;BR /&gt;many thanks for your support. My first talend* job is working now.
&lt;BR /&gt;I (re)named the column row3 (main) via its scheme to ResponseContent. "Auto cast" is still checked.
&lt;BR /&gt;Some additional questions:
&lt;BR /&gt;1. Only the column ResponseContent in row1 (Main) is colored green, not the other ones (row2 (Main) and
&lt;BR /&gt;row3 (Main)). What means the green color?
&lt;BR /&gt;2. I thought that tLogRow contains all the messages of the Basic Run console like "Start Job XYZ...".
&lt;BR /&gt;Is there a way to add these messages to the file?
&lt;BR /&gt;
&lt;BR /&gt;Many thanks and greetings
&lt;BR /&gt;TalentedFoxy</description>
    <pubDate>Mon, 24 Nov 2014 23:27:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-24T23:27:46Z</dc:date>
    <item>
      <title>[resolved] First job: tHttpRequest + tLogRow, then adding tFileOutputRaw</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196019#M356</link>
      <description>A first hello,&lt;BR /&gt;and many thanks for that great tool!&lt;BR /&gt;&lt;BR /&gt;I'm just starting with Talend. Via tHttpRequest I want to fetch the content of an internet page. I can see the result in tLogRow. Now I want to add an tFileOutputRaw and just save the content to an file. How can/must I connect tFileOutputRaw to the other two components?&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Many thanks and greetings&lt;BR /&gt;TalentedFoxy</description>
      <pubDate>Thu, 20 Nov 2014 01:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196019#M356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-20T01:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] First job: tHttpRequest + tLogRow, then adding tFileOutputRaw</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196020#M357</link>
      <description>To write the result to a text file, you can use tFileOutputDelimited, for example:
&lt;BR /&gt;tHttpRequest--main--tFileOutputDelimited
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 20 Nov 2014 01:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196020#M357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-20T01:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] First job: tHttpRequest + tLogRow, then adding tFileOutputRaw</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196021#M358</link>
      <description>Hello Shong,
&lt;BR /&gt;many thanks for your answer.
&lt;BR /&gt;I just want to save the content of tHttpRequest to a file (alternativly tLogRow). Therefore I want to use tFileOutputRaw. An HTML file isn't delimited in any way, so why I should use tFileOutputDelimited?
&lt;BR /&gt;When I connect
&lt;BR /&gt;tHttpRequest--row1 (Main)--&amp;gt;tLogRow--row2 (Main)-&amp;gt;tFileOutputRaw
&lt;BR /&gt;I get an error: "The schema from the input link "row2\" is different from the schema defined in the component."
&lt;BR /&gt;Don't understand that error.
&lt;BR /&gt;How can I connect components like
&lt;BR /&gt;tHttpRequest-+-row1 (Main)--&amp;gt;tLogRow
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \--row2 (Main)-&amp;gt;tFileOutputRaw
&lt;BR /&gt;By the way, I really miss simple "Hello World" examples like that one.
&lt;BR /&gt;
&lt;BR /&gt;Many thanks and greetings
&lt;BR /&gt;TalentedFoxy</description>
      <pubDate>Fri, 21 Nov 2014 01:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196021#M358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T01:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] First job: tHttpRequest + tLogRow, then adding tFileOutputRaw</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196022#M359</link>
      <description>Hi&amp;nbsp;
&lt;BR /&gt;
&lt;PRE&gt;I get an error: "The schema from the input link "row2\" is different from the schema defined in the component."&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;Don't understand that error.&lt;/PRE&gt;
&lt;BR /&gt;tFileOutputRaw has an predefined schema which has a column with Object type, but tHttpRequest returns a string, the output schema is different from the input schema. To resolve this error, add a tConvertType component between tHttpRequest and tFileOutputRaw to convert the data type.&amp;nbsp;
&lt;BR /&gt;
&lt;PRE&gt;How can I connect components like&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;tHttpRequest-+-row1 (Main)--&amp;gt;tLogRow&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \--row2 (Main)-&amp;gt;tFileOutputRaw&lt;/PRE&gt;
&lt;BR /&gt;tHttpRequest--main--tReplicate--main--&amp;gt;tLogRow
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--main--tConvertType--main--&amp;gt;tFileOutputRaw
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 21 Nov 2014 01:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196022#M359</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T01:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] First job: tHttpRequest + tLogRow, then adding tFileOutputRaw</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196023#M360</link>
      <description>Hello Shong, 
&lt;BR /&gt;due to your answer some progress, thanks for it. 
&lt;BR /&gt;But the file is empty. What are the settings in component tConvertType? I tried 
&lt;BR /&gt;"Autoconversion" (hope that's the correct translation). 
&lt;BR /&gt;tHttpRequest--row1 (Main)--&amp;gt;tLogRow--row2 (Main)-&amp;gt;tConvertType--row3 (Main)-&amp;gt;tFileOutputRaw 
&lt;BR /&gt;Traces Debug show 
&lt;BR /&gt;row 3 (Main) | Current row : 1 
&lt;BR /&gt;---------------+------------------ 
&lt;BR /&gt;content&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; | null 
&lt;BR /&gt; 
&lt;BR /&gt;Many thanks and greetings 
&lt;BR /&gt;TalentedFoxy</description>
      <pubDate>Fri, 21 Nov 2014 23:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196023#M360</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-21T23:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] First job: tHttpRequest + tLogRow, then adding tFileOutputRaw</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196024#M361</link>
      <description>Hi
&lt;BR /&gt;If you check the 'auto Cast' box, the output column name should be same as input column name, otherwise, uncheck the 'auto Cast' box and specify the input column and output column.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 24 Nov 2014 04:01:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196024#M361</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-24T04:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] First job: tHttpRequest + tLogRow, then adding tFileOutputRaw</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196025#M362</link>
      <description>Hello Shong,
&lt;BR /&gt;many thanks for your support. My first talend* job is working now.
&lt;BR /&gt;I (re)named the column row3 (main) via its scheme to ResponseContent. "Auto cast" is still checked.
&lt;BR /&gt;Some additional questions:
&lt;BR /&gt;1. Only the column ResponseContent in row1 (Main) is colored green, not the other ones (row2 (Main) and
&lt;BR /&gt;row3 (Main)). What means the green color?
&lt;BR /&gt;2. I thought that tLogRow contains all the messages of the Basic Run console like "Start Job XYZ...".
&lt;BR /&gt;Is there a way to add these messages to the file?
&lt;BR /&gt;
&lt;BR /&gt;Many thanks and greetings
&lt;BR /&gt;TalentedFoxy</description>
      <pubDate>Mon, 24 Nov 2014 23:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196025#M362</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-24T23:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] First job: tHttpRequest + tLogRow, then adding tFileOutputRaw</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196026#M363</link>
      <description>Hi 
&lt;BR /&gt;Glad to see you get it working! 
&lt;BR /&gt;1.&amp;nbsp; 
&lt;FONT size="2"&gt;Green color on the schema means it is a predefined schema by Talend, it is read-only.&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;2. You can activate log4j functionality to trace the log message and log them in a file, follows these steps:&lt;/FONT&gt; 
&lt;BR /&gt;a.)&amp;nbsp; 
&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial, Helvetica, FreeSans, sans-serif"&gt;&amp;nbsp;A&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial, Helvetica, FreeSans, sans-serif"&gt;dd "-DLOG4J_ENABLED=true" value in "Talend-Studio-win-x86_64.ini" or "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT face="Arial, Helvetica, FreeSans, sans-serif"&gt;TOS_DI-win32-x86.ini&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial, Helvetica, FreeSans, sans-serif"&gt;" depends on your machine.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial, Helvetica, FreeSans, sans-serif"&gt;b. ) &amp;nbsp;Activate log4j functionality in the project settings panel.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial, Helvetica, FreeSans, sans-serif"&gt;&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/674/1_20141126-0334.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBcr.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154605i117342FD1A745846/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBcr.png" alt="0683p000009MBcr.png" /&gt;&lt;/span&gt; &lt;/A&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;c.) Change the default log4j template, for example:&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;&lt;FONT size="2"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" ?&amp;gt; &lt;BR /&gt;&amp;lt;!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"&amp;gt;&lt;BR /&gt;&amp;lt;log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"&amp;gt;&lt;BR /&gt; &amp;lt;appender name="FILE" class="org.apache.log4j.FileAppender"&amp;gt;&lt;BR /&gt; &amp;lt;param name="File" value="D:/${TalendJob.log}"/&amp;gt;&lt;BR /&gt; &amp;lt;layout class="org.apache.log4j.PatternLayout"&amp;gt;&lt;BR /&gt; &amp;lt;param name="ConversionPattern" value="%d - %c -%-4r %-5p %x - %m%n" /&amp;gt;&lt;BR /&gt; &amp;lt;/layout&amp;gt;&lt;BR /&gt; &amp;lt;/appender&amp;gt;&lt;BR /&gt; &amp;lt;root&amp;gt;&lt;BR /&gt; &amp;lt;priority value="info" /&amp;gt;&lt;BR /&gt; &amp;lt;appender-ref ref="FILE" /&amp;gt;&lt;BR /&gt; &amp;lt;/root&amp;gt;&lt;BR /&gt;&amp;lt;/log4j:configuration&amp;gt;&lt;/FONT&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;In this example, it will log the message in a file called yourRealJobName.log under D:/.&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 26 Nov 2014 02:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-First-job-tHttpRequest-tLogRow-then-adding/m-p/2196026#M363</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-26T02:38:31Z</dc:date>
    </item>
  </channel>
</rss>

