<?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 Multiple directories as input for tFileList in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Multiple-directories-as-input-for-tFileList/m-p/2319031#M89319</link>
    <description>Hi all,
&lt;BR /&gt;Is it possible to have somehow multiple inputs for the directory parameter in tFileList ?
&lt;BR /&gt;My scenario:
&lt;BR /&gt;tFileInputDelimited --main--&amp;gt; tMAP --main--&amp;gt; tJava --Iterate--&amp;gt; tFileList --interate--&amp;gt;tFileCopy
&lt;BR /&gt;I use an input file which contains for example 2 folders
&lt;BR /&gt;example:
&lt;BR /&gt;c:/temp1
&lt;BR /&gt;c:/temp2
&lt;BR /&gt;Using input, tMap and tJava I set a context variable (context.myvariable) so it contains the folder.
&lt;BR /&gt;tFileList Directory variable is set to context.myvariable
&lt;BR /&gt;When executing I get a null pointer exception in tFileList. 
&lt;BR /&gt;If I hardcode tFileList to a specific folder, it works fine.
&lt;BR /&gt;Any help is appreciated.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Peter Verschueren</description>
    <pubDate>Sat, 16 Nov 2024 12:23:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T12:23:18Z</dc:date>
    <item>
      <title>Multiple directories as input for tFileList</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-directories-as-input-for-tFileList/m-p/2319031#M89319</link>
      <description>Hi all,
&lt;BR /&gt;Is it possible to have somehow multiple inputs for the directory parameter in tFileList ?
&lt;BR /&gt;My scenario:
&lt;BR /&gt;tFileInputDelimited --main--&amp;gt; tMAP --main--&amp;gt; tJava --Iterate--&amp;gt; tFileList --interate--&amp;gt;tFileCopy
&lt;BR /&gt;I use an input file which contains for example 2 folders
&lt;BR /&gt;example:
&lt;BR /&gt;c:/temp1
&lt;BR /&gt;c:/temp2
&lt;BR /&gt;Using input, tMap and tJava I set a context variable (context.myvariable) so it contains the folder.
&lt;BR /&gt;tFileList Directory variable is set to context.myvariable
&lt;BR /&gt;When executing I get a null pointer exception in tFileList. 
&lt;BR /&gt;If I hardcode tFileList to a specific folder, it works fine.
&lt;BR /&gt;Any help is appreciated.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Peter Verschueren</description>
      <pubDate>Sat, 16 Nov 2024 12:23:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-directories-as-input-for-tFileList/m-p/2319031#M89319</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple directories as input for tFileList</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-directories-as-input-for-tFileList/m-p/2319032#M89320</link>
      <description>Hi all,
&lt;BR /&gt;I managed to fix it.
&lt;BR /&gt;scenario:
&lt;BR /&gt;tFileInputDelimited --row--&amp;gt; tJavaRow --row--&amp;gt; tFlowToIterate --interate--&amp;gt; tFileList --interate--&amp;gt; tFileCopy
&lt;BR /&gt;tJavaRow is used to set the context variable myvariable
&lt;BR /&gt;tFileList takes this context as Directory parameter
&lt;BR /&gt;Now it works !!
&lt;BR /&gt;Regards,
&lt;BR /&gt;Peter Verschueren</description>
      <pubDate>Fri, 10 Feb 2012 13:51:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-directories-as-input-for-tFileList/m-p/2319032#M89320</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-10T13:51:42Z</dc:date>
    </item>
  </channel>
</rss>

