<?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 Load Data into database from file and attach filename in a column via tmap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Load-Data-into-database-from-file-and-attach-filename-in-a/m-p/2226606#M18458</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a batch job which currently loads data from a list of files into a MySQL table. I'm trying to work out how to use tfileproperties to obtain the filename and attach it as an extra column to the exiting dataset via tmap?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Below is my current job which works. But not sure where to add in tfileproperties?&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="test.PNG" style="width: 712px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6JU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152523iED6F27CE083D5C30/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6JU.png" alt="0683p000009M6JU.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:18:10 GMT</pubDate>
    <dc:creator>DavidETL</dc:creator>
    <dc:date>2024-11-16T05:18:10Z</dc:date>
    <item>
      <title>Load Data into database from file and attach filename in a column via tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-Data-into-database-from-file-and-attach-filename-in-a/m-p/2226606#M18458</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a batch job which currently loads data from a list of files into a MySQL table. I'm trying to work out how to use tfileproperties to obtain the filename and attach it as an extra column to the exiting dataset via tmap?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Below is my current job which works. But not sure where to add in tfileproperties?&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="test.PNG" style="width: 712px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6JU.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152523iED6F27CE083D5C30/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6JU.png" alt="0683p000009M6JU.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-Data-into-database-from-file-and-attach-filename-in-a/m-p/2226606#M18458</guid>
      <dc:creator>DavidETL</dc:creator>
      <dc:date>2024-11-16T05:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Load Data into database from file and attach filename in a column via tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Load-Data-into-database-from-file-and-attach-filename-in-a/m-p/2226607#M18459</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You can get tFileProperties through iteration of tFileList and use the CURRENT_FILE globalMap value.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 10:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Load-Data-into-database-from-file-and-attach-filename-in-a/m-p/2226607#M18459</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-24T10:16:14Z</dc:date>
    </item>
  </channel>
</rss>

