<?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: Problem in tFileList in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Problem-in-tFileList/m-p/2372285#M135139</link>
    <description>&lt;P&gt;hi can you add the subfolder name as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;((String)globalMap.get("tFileList_1_CURRENT_FILEDIRECTORY"))+"\\"+((String)globalMap.get("tFileList_1_CURRENT_FILE"))&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2018 11:39:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-21T11:39:26Z</dc:date>
    <item>
      <title>Problem in tFileList</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-in-tFileList/m-p/2372281#M135135</link>
      <description>&lt;P&gt;hello All..&lt;/P&gt;&lt;P&gt;I have a folder having many sub folders. Each sub folder have a single file having the same name.&lt;/P&gt;&lt;P&gt;for example only one folder then 100 sub folders and each sub folder has a file so total 100 files and name is same for all files like "file.xml"&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have designed a job which is coverting xml files to json&lt;/P&gt;&lt;P&gt;tFileList--tFileInputXML--tMap-- tWriteJsonField-- tFileOutputDelimited&lt;/P&gt;&lt;P&gt;now the&amp;nbsp; problem is as it should processed 100 files but as output i am getting only one output file.It may be because all files have the same name.&lt;/P&gt;&lt;P&gt;Please tell me the solution what should i do so that i can get all 100 Jsons (desired output)&lt;/P&gt;&lt;P&gt;please help me as soon as possible.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 10:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-in-tFileList/m-p/2372281#M135135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-21T10:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in tFileList</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-in-tFileList/m-p/2372282#M135136</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;You may include the file number issued from tFileList into the output filename like this:&lt;/P&gt; 
&lt;PRE&gt;"file_" + ((Integer)globalMap.get("tFileList_1_NB_FILE")) + ".xml"&lt;/PRE&gt; 
&lt;P&gt;This suppose the output filename is constructed into the tFileList iteration.&lt;/P&gt; 
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 10:18:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-in-tFileList/m-p/2372282#M135136</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-02-21T10:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in tFileList</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-in-tFileList/m-p/2372283#M135137</link>
      <description>&lt;P&gt;hey thanku so much..&lt;/P&gt;
&lt;P&gt;now its working fine...but how can i add the sub folder name instead of file number in the output file name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 10:47:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-in-tFileList/m-p/2372283#M135137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-21T10:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in tFileList</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-in-tFileList/m-p/2372284#M135138</link>
      <description>&lt;P&gt;You&amp;nbsp; need to extract it from the "CURRENT_FILEDIRECTORY" global variable&amp;nbsp;associated to the tFileList using the substring method.&lt;/P&gt;&lt;P&gt;Based on the previous example, it should look like this:&lt;/P&gt;&lt;PRE&gt;"File_"+&lt;BR /&gt;  ((String)globalMap.get("tFileList_1_CURRENT_FILEDIRECTORY")).&lt;BR /&gt;    substring(((String)globalMap.get("tFileList_1_CURRENT_FILEDIRECTORY")).&lt;BR /&gt;      lastIndexOf("\\")+1)+&lt;BR /&gt;  ".xml"&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Feb 2018 11:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-in-tFileList/m-p/2372284#M135138</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-02-21T11:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in tFileList</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-in-tFileList/m-p/2372285#M135139</link>
      <description>&lt;P&gt;hi can you add the subfolder name as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;((String)globalMap.get("tFileList_1_CURRENT_FILEDIRECTORY"))+"\\"+((String)globalMap.get("tFileList_1_CURRENT_FILE"))&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 11:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-in-tFileList/m-p/2372285#M135139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-21T11:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in tFileList</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-in-tFileList/m-p/2372286#M135140</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKrFAAW"&gt;@shalla&lt;/A&gt;,&amp;nbsp;did it help you?&lt;/P&gt;
&lt;P&gt;In this case&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;thank's to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;mark this case as resolved (Kudos also accepted).&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 08:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-in-tFileList/m-p/2372286#M135140</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-02-23T08:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in tFileList</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-in-tFileList/m-p/2372287#M135141</link>
      <description>&lt;P&gt;thanku&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;&amp;nbsp;it is solved&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2018 14:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-in-tFileList/m-p/2372287#M135141</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-24T14:53:45Z</dc:date>
    </item>
  </channel>
</rss>

