<?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 Issue getting file lists out of tFileList into a table in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Issue-getting-file-lists-out-of-tFileList-into-a-table/m-p/2204836#M5556</link>
    <description>&lt;P&gt;Hi, I'm still pretty new to Talend and need some help with tFileList.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am basically wanting Talend to read the contents of a directory and output the filenames of all the files into a data table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To start I created a job to see if I could out the filenames to a tLogRow, so I did this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;tFileList_1 &amp;gt;&amp;gt; tFileProperties_1 &amp;gt;&amp;gt; tMap &amp;gt;&amp;gt; (basename column) &amp;gt;&amp;gt; tLogRow_1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tFileList&amp;nbsp; - Directory is set (using a context variable).&lt;/P&gt;
&lt;P&gt;tFileProperties - "File" set to&amp;nbsp;&lt;STRONG&gt;((String)globalMap.get("tFileList_1_CURRENT_FILE"))&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But my tLogRow output has NULL in the basename column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;
&lt;P&gt;Can anyone tell me why?&amp;nbsp; I'm not a java developer (just a SQL developer).&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:21:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T04:21:58Z</dc:date>
    <item>
      <title>Issue getting file lists out of tFileList into a table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-getting-file-lists-out-of-tFileList-into-a-table/m-p/2204836#M5556</link>
      <description>&lt;P&gt;Hi, I'm still pretty new to Talend and need some help with tFileList.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am basically wanting Talend to read the contents of a directory and output the filenames of all the files into a data table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To start I created a job to see if I could out the filenames to a tLogRow, so I did this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;tFileList_1 &amp;gt;&amp;gt; tFileProperties_1 &amp;gt;&amp;gt; tMap &amp;gt;&amp;gt; (basename column) &amp;gt;&amp;gt; tLogRow_1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tFileList&amp;nbsp; - Directory is set (using a context variable).&lt;/P&gt;
&lt;P&gt;tFileProperties - "File" set to&amp;nbsp;&lt;STRONG&gt;((String)globalMap.get("tFileList_1_CURRENT_FILE"))&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But my tLogRow output has NULL in the basename column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;
&lt;P&gt;Can anyone tell me why?&amp;nbsp; I'm not a java developer (just a SQL developer).&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:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-getting-file-lists-out-of-tFileList-into-a-table/m-p/2204836#M5556</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue getting file lists out of tFileList into a table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-getting-file-lists-out-of-tFileList-into-a-table/m-p/2204837#M5557</link>
      <description>&lt;P&gt;change&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;((String)globalMap.get("tFileList_1_CURRENT_FILE"))&lt;/PRE&gt;
&lt;P&gt;to&lt;/P&gt;
&lt;PRE&gt;((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))&lt;/PRE&gt;
&lt;P&gt;Even though you identify the directory in the fileList you'll still need to specify the full path in the fileProperties&lt;/P&gt;
&lt;P&gt;CURRENT_FILE is just the filename&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 15:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-getting-file-lists-out-of-tFileList-into-a-table/m-p/2204837#M5557</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-16T15:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue getting file lists out of tFileList into a table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Issue-getting-file-lists-out-of-tFileList-into-a-table/m-p/2204838#M5558</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000005HwGQAA0"&gt;@evansdar&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How odd though.&amp;nbsp; It's quite misleading to have CURRENT_FILEPATH and CURRENT_FILE, and especially to then have CURRENT_FILE do absolutely nothing and CURRENT_FILEPATH show only the filename. Very odd&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 15:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Issue-getting-file-lists-out-of-tFileList-into-a-table/m-p/2204838#M5558</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-16T15:28:56Z</dc:date>
    </item>
  </channel>
</rss>

