<?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: Set tFileList Filemask from records in SQL Table in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Set-tFileList-Filemask-from-records-in-SQL-Table/m-p/2277180#M53040</link>
    <description>Why do you need tFileList if you know from the table what the file names are? You can just iterate through the table records processing the files as required. Looking at the code generated by tFileList, it appears that you can't add file masks dynamically. The best you could do would be to pre-define a number of context or globalMap variables to use in your tFileList and then populate those variables from your table records.</description>
    <pubDate>Wed, 21 Jul 2010 00:24:33 GMT</pubDate>
    <dc:creator>alevy</dc:creator>
    <dc:date>2010-07-21T00:24:33Z</dc:date>
    <item>
      <title>Set tFileList Filemask from records in SQL Table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Set-tFileList-Filemask-from-records-in-SQL-Table/m-p/2277179#M53039</link>
      <description>I would like to dynamically set the filemask parameter of a tFileList component using records queried from a SQL Table.
&lt;BR /&gt;for instance:
&lt;BR /&gt;FileMask now:
&lt;BR /&gt;GL_*.xls
&lt;BR /&gt;Query distinct records from a table, results in:
&lt;BR /&gt;12345
&lt;BR /&gt;23456
&lt;BR /&gt;34567
&lt;BR /&gt;FileMask wanted:
&lt;BR /&gt;GL_12345.xls
&lt;BR /&gt;GL_23456.xls
&lt;BR /&gt;GL_34567.xls
&lt;BR /&gt;I assume the code would be similar to:
&lt;BR /&gt;tFileList1.add.files(GL_12345.xls)
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Jim</description>
      <pubDate>Sat, 16 Nov 2024 13:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Set-tFileList-Filemask-from-records-in-SQL-Table/m-p/2277179#M53039</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set tFileList Filemask from records in SQL Table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Set-tFileList-Filemask-from-records-in-SQL-Table/m-p/2277180#M53040</link>
      <description>Why do you need tFileList if you know from the table what the file names are? You can just iterate through the table records processing the files as required. Looking at the code generated by tFileList, it appears that you can't add file masks dynamically. The best you could do would be to pre-define a number of context or globalMap variables to use in your tFileList and then populate those variables from your table records.</description>
      <pubDate>Wed, 21 Jul 2010 00:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Set-tFileList-Filemask-from-records-in-SQL-Table/m-p/2277180#M53040</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2010-07-21T00:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set tFileList Filemask from records in SQL Table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Set-tFileList-Filemask-from-records-in-SQL-Table/m-p/2277181#M53041</link>
      <description>Good point, I hadn't thought about taking that direction. The process is a bit more complex than in my example, but it's still a valid option.</description>
      <pubDate>Wed, 21 Jul 2010 13:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Set-tFileList-Filemask-from-records-in-SQL-Table/m-p/2277181#M53041</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-21T13:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set tFileList Filemask from records in SQL Table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Set-tFileList-Filemask-from-records-in-SQL-Table/m-p/2277182#M53042</link>
      <description>A bit more detail, we also have the period end date as a portion of the filename so the FileList use is still worthwhile. Below is actually the filemask needed as we can receive files for multiple periods as well as files from facilities we're not yet ready to process. 
&lt;BR /&gt;FileMask wanted: 
&lt;BR /&gt;GL_12345_*.xls 
&lt;BR /&gt;GL_23456_*.xls 
&lt;BR /&gt;GL_34567_*.xls</description>
      <pubDate>Wed, 21 Jul 2010 15:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Set-tFileList-Filemask-from-records-in-SQL-Table/m-p/2277182#M53042</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-21T15:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set tFileList Filemask from records in SQL Table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Set-tFileList-Filemask-from-records-in-SQL-Table/m-p/2277183#M53043</link>
      <description>I would suggest then just having one globalMap variable used as part of your tFileList mask and iterate through your table records to populate the variable and call tFileList.</description>
      <pubDate>Thu, 22 Jul 2010 11:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Set-tFileList-Filemask-from-records-in-SQL-Table/m-p/2277183#M53043</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2010-07-22T11:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set tFileList Filemask from records in SQL Table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Set-tFileList-Filemask-from-records-in-SQL-Table/m-p/2277184#M53044</link>
      <description>Terrific! Thanks so much for your help and suggestions.</description>
      <pubDate>Thu, 22 Jul 2010 15:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Set-tFileList-Filemask-from-records-in-SQL-Table/m-p/2277184#M53044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-22T15:53:02Z</dc:date>
    </item>
  </channel>
</rss>

