<?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: Getting the file name from tfilelist in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Getting-the-file-name-from-tfilelist/m-p/2283554#M57434</link>
    <description>I'm sure of not.
&lt;BR /&gt;You'll have the same filename for every record from the same file and different filenames as soon as the input file will change.</description>
    <pubDate>Mon, 07 Oct 2019 20:31:43 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2019-10-07T20:31:43Z</dc:date>
    <item>
      <title>Getting the file name from tfilelist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-the-file-name-from-tfilelist/m-p/2283549#M57429</link>
      <description>&lt;P&gt;Hello All&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I do have a requirement, i wanted to read the file names from tFile list which i did in below method, and able to read the file names&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="tfilelist.PNG" style="width: 433px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M885.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136972i4290C546F515F50E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M885.png" alt="0683p000009M885.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But i need to read the files names and data corresponding to the files , to let me know from which file data came, but when i run the job below, with design&amp;nbsp;&amp;nbsp;&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="tfilelist2.PNG" style="width: 475px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M88A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141748i63EC132C37E08D5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M88A.png" alt="0683p000009M88A.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;There are 3 files in the files list , am able to see data one after another, but am unable to see from which file the data is came from, what design or method would be better to see that way&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;right am seeing the&amp;nbsp; data like below format&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;id, name&lt;/P&gt; 
&lt;P&gt;1,Manish&lt;/P&gt; 
&lt;P&gt;------------&lt;/P&gt; 
&lt;P&gt;id, name&lt;/P&gt; 
&lt;P&gt;2,Manish&lt;/P&gt; 
&lt;P&gt;------------&lt;/P&gt; 
&lt;P&gt;id, name&lt;/P&gt; 
&lt;P&gt;3,Manish&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;but i wanted to see in this below format to know from which file it is coming from&lt;/P&gt; 
&lt;P&gt;File1&lt;/P&gt; 
&lt;P&gt;id, name&lt;/P&gt; 
&lt;P&gt;1,Manish&lt;/P&gt; 
&lt;P&gt;------------&lt;/P&gt; 
&lt;P&gt;File2&lt;/P&gt; 
&lt;P&gt;id, name&lt;/P&gt; 
&lt;P&gt;2,Manish&lt;/P&gt; 
&lt;P&gt;------------&lt;/P&gt; 
&lt;P&gt;File3&lt;/P&gt; 
&lt;P&gt;id, name&lt;/P&gt; 
&lt;P&gt;3,Manish&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks In Advance&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Manish&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:27:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-the-file-name-from-tfilelist/m-p/2283549#M57429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the file name from tfilelist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-the-file-name-from-tfilelist/m-p/2283550#M57430</link>
      <description>Share your tMap</description>
      <pubDate>Mon, 07 Oct 2019 18:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-the-file-name-from-tfilelist/m-p/2283550#M57430</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-10-07T18:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the file name from tfilelist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-the-file-name-from-tfilelist/m-p/2283551#M57431</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;&amp;nbsp; Thanks&amp;nbsp; please find below&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&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="tMap.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M88F.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158291iF500FE14AB269F61/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M88F.png" alt="0683p000009M88F.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 19:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-the-file-name-from-tfilelist/m-p/2283551#M57431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-07T19:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the file name from tfilelist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-the-file-name-from-tfilelist/m-p/2283552#M57432</link>
      <description>So you want to retrieve the filename in your output, that's it? But you don't do anything for that. Add filename as a new field for your tMap output and use the following expression to populate that field: 
&lt;BR /&gt;(String)globalMap.get(tFileList_1_CURRENT_FILE)</description>
      <pubDate>Mon, 07 Oct 2019 19:56:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-the-file-name-from-tfilelist/m-p/2283552#M57432</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-10-07T19:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the file name from tfilelist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-the-file-name-from-tfilelist/m-p/2283553#M57433</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;&amp;nbsp;Thanks it worked out. but if am using with multiple files, every name is popping with same file name , that is the limitation now&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 19:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-the-file-name-from-tfilelist/m-p/2283553#M57433</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-07T19:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the file name from tfilelist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Getting-the-file-name-from-tfilelist/m-p/2283554#M57434</link>
      <description>I'm sure of not.
&lt;BR /&gt;You'll have the same filename for every record from the same file and different filenames as soon as the input file will change.</description>
      <pubDate>Mon, 07 Oct 2019 20:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Getting-the-file-name-from-tfilelist/m-p/2283554#M57434</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-10-07T20:31:43Z</dc:date>
    </item>
  </channel>
</rss>

