<?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: how to get data using tfilelist component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-get-data-using-tfilelist-component/m-p/2370581#M133608</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Why did you use 2 tFileList if you have only 2 files ? The iteration is useless&amp;nbsp;no ?&lt;/P&gt; 
&lt;P&gt;Personnaly I take the problem more like that :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 652px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrJp.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154878iA329ECF711D5C182/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrJp.png" alt="0683p000009LrJp.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You can initialise some globalMap in tJava in function of some properties of your file.&lt;/P&gt; 
&lt;P&gt;In you tFileInput use your variable in the de name file var.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Good luck.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2017 12:46:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-05T12:46:08Z</dc:date>
    <item>
      <title>how to get data using tfilelist component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-get-data-using-tfilelist-component/m-p/2370580#M133607</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;I have to do below requirement&lt;/LI&gt; 
 &lt;LI&gt;I have two Hundred excel file in same folder&amp;nbsp;&lt;/LI&gt; 
 &lt;LI&gt;&lt;SPAN&gt;My file name is&amp;nbsp;&lt;/SPAN&gt;P_19Jun2017 and P_20Jun2017.&amp;nbsp;&lt;/LI&gt; 
 &lt;LI&gt;&lt;SPAN&gt;How to get data from excel files using tfilelist component based on file name (file name like Date). &lt;/SPAN&gt;&lt;/LI&gt; 
 &lt;LI&gt;I need to get excel file data based on max of date for tfilelist_1&amp;nbsp;&lt;SPAN&gt;component and&amp;nbsp;(max of date - 1) for tfilelist_2&amp;nbsp;component&lt;/SPAN&gt;&lt;/LI&gt; 
 &lt;LI&gt;&lt;SPAN&gt;Then I have to do join for both file using tmap.&lt;/SPAN&gt;&lt;/LI&gt; 
 &lt;LI&gt;I need to create job below like screenshots.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot (68).png" style="width: 861px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lr6T.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144123i486CFE751814AFAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lr6T.png" alt="0683p000009Lr6T.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/LI&gt; 
&lt;/UL&gt;</description>
      <pubDate>Thu, 05 Oct 2017 11:13:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-get-data-using-tfilelist-component/m-p/2370580#M133607</guid>
      <dc:creator>RAJ6</dc:creator>
      <dc:date>2017-10-05T11:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to get data using tfilelist component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-get-data-using-tfilelist-component/m-p/2370581#M133608</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Why did you use 2 tFileList if you have only 2 files ? The iteration is useless&amp;nbsp;no ?&lt;/P&gt; 
&lt;P&gt;Personnaly I take the problem more like that :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 652px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrJp.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154878iA329ECF711D5C182/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrJp.png" alt="0683p000009LrJp.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You can initialise some globalMap in tJava in function of some properties of your file.&lt;/P&gt; 
&lt;P&gt;In you tFileInput use your variable in the de name file var.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 12:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-get-data-using-tfilelist-component/m-p/2370581#M133608</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-05T12:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to get data using tfilelist component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-get-data-using-tfilelist-component/m-p/2370582#M133609</link>
      <description>&lt;P&gt;Thank for your reply. can i get that java code&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 12:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-get-data-using-tfilelist-component/m-p/2370582#M133609</guid>
      <dc:creator>RAJ6</dc:creator>
      <dc:date>2017-10-05T12:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to get data using tfilelist component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-get-data-using-tfilelist-component/m-p/2370583#M133610</link>
      <description>&lt;P&gt;Create 2 contexts var String with default value = INIT&lt;/P&gt;
&lt;P&gt;then in your tJava&lt;/P&gt;
&lt;P align="left"&gt;&lt;FONT color="#7f0055" size="2"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;(context.file1.equals(&lt;/FONT&gt;&lt;FONT color="#2a00ff" size="2"&gt;"INIT"&lt;/FONT&gt;&lt;FONT size="2"&gt;))&lt;/FONT&gt;&lt;/P&gt;
&lt;P align="left"&gt;{&lt;/P&gt;
&lt;P align="left"&gt;&lt;FONT size="2"&gt;context.file1 = ((String)globalMap.get(&lt;/FONT&gt;&lt;FONT color="#2a00ff" size="2"&gt;"tFileList_1_CURRENT_FILEPATH"&lt;/FONT&gt;&lt;FONT size="2"&gt;));&lt;/FONT&gt;&lt;/P&gt;
&lt;P align="left"&gt;}&lt;/P&gt;
&lt;P align="left"&gt;else&lt;/P&gt;
&lt;P align="left"&gt;{&lt;/P&gt;
&lt;P align="left"&gt;&lt;FONT size="2"&gt;context.file2 = ((String)globalMap.get(&lt;/FONT&gt;&lt;FONT color="#2a00ff" size="2"&gt;"tFileList_1_CURRENT_FILEPATH"&lt;/FONT&gt;&lt;FONT size="2"&gt;));&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And in the tFileList, order by "Date of Modif"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or something like that .&lt;/P&gt;
&lt;P&gt;Good luck ,&lt;/P&gt;
&lt;P&gt;SGV&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 13:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-get-data-using-tfilelist-component/m-p/2370583#M133610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-05T13:20:22Z</dc:date>
    </item>
  </channel>
</rss>

