<?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: How to create dynamic filename from a tMap output field? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-dynamic-filename-from-a-tMap-output-field/m-p/2312526#M83470</link>
    <description>&lt;P&gt;Sorry, title should refer to tWaitForFile. I just want to use the created file for a tMap.&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2019 17:44:36 GMT</pubDate>
    <dc:creator>microstratege</dc:creator>
    <dc:date>2019-05-16T17:44:36Z</dc:date>
    <item>
      <title>How to create dynamic filename from a tMap output field?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-dynamic-filename-from-a-tMap-output-field/m-p/2312525#M83469</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I use tWaitForFile to start processing files in a directory. But how can I refer the found files? I read that the filename is saved in the global Variable (CREATED_FILE), but how should I use that in the next step (tFileInputXML) ?&lt;/P&gt;
&lt;P&gt;Up to now each try results in an error.&lt;/P&gt;
&lt;P&gt;Hope you have an idea, because I think that is a normal usage of processing the files found in tWaitFor File.&lt;/P&gt;
&lt;P&gt;Kind regards, Detlev&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 17:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-dynamic-filename-from-a-tMap-output-field/m-p/2312525#M83469</guid>
      <dc:creator>microstratege</dc:creator>
      <dc:date>2019-05-16T17:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dynamic filename from a tMap output field?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-dynamic-filename-from-a-tMap-output-field/m-p/2312526#M83470</link>
      <description>&lt;P&gt;Sorry, title should refer to tWaitForFile. I just want to use the created file for a tMap.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 17:44:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-dynamic-filename-from-a-tMap-output-field/m-p/2312526#M83470</guid>
      <dc:creator>microstratege</dc:creator>
      <dc:date>2019-05-16T17:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dynamic filename from a tMap output field?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-dynamic-filename-from-a-tMap-output-field/m-p/2312527#M83471</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Could you please try below method?&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 906px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3su.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129134i973B3818CE2C901C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3su.png" alt="0683p000009M3su.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The component screenshots are as below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="tWaitForFile1" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4CO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136547i28383BC0902EB657/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4CO.png" alt="0683p000009M4CO.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;tWaitForFile1&lt;/SPAN&gt;&lt;/SPAN&gt;&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-center" image-alt="If Condition" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4CT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153001i5B72D64208E99FC4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4CT.png" alt="0683p000009M4CT.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;If Condition&lt;/SPAN&gt;&lt;/SPAN&gt;&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-center" image-alt="tFileInputFullRow1" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4CY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139251iE11FEE02227E44C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4CY.png" alt="0683p000009M4CY.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;tFileInputFullRow1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 18:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-dynamic-filename-from-a-tMap-output-field/m-p/2312527#M83471</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-16T18:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dynamic filename from a tMap output field?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-dynamic-filename-from-a-tMap-output-field/m-p/2312528#M83472</link>
      <description>&lt;P&gt;Hi Nikhil,&lt;/P&gt;
&lt;P&gt;thanks for your answer. After some tries I got a run without errors. I think the "Run if"-Component with the condition can be exchanged by the "OnSubjobOk"-link. The result is the same, but I mustn't use the condition.&lt;/P&gt;
&lt;P&gt;Because the files I'm looking for are XML-Files I use the tFileInputXML instead of tFileInputFullRow. Hope that is still ok, because then I got the content in tLogRow as expected.&lt;/P&gt;
&lt;P&gt;The problem I looked for a solution is to process all new files created in the directory. So I hope the usage of "continue loop" is the appropriate change. But after changing that parameter the process didn't create any output. Hope you can advice.&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Detlev&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 12:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-dynamic-filename-from-a-tMap-output-field/m-p/2312528#M83472</guid>
      <dc:creator>microstratege</dc:creator>
      <dc:date>2019-05-17T12:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to create dynamic filename from a tMap output field?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-dynamic-filename-from-a-tMap-output-field/m-p/2312529#M83473</link>
      <description>&lt;P&gt;This is a slight modification of&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;'s answer which solve your problem.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You will need a tWaitForFile connect via a Row link to a tFlowToIterate. Then connect your file component via an iterate link. If the Row connecting your tWaitForFile to the tFlowToIterate component is called "row1", then your tFlowToIterate will add your filename to the globalMap with a key of "row1.FILENAME". This can be used to call the file using ((String)globalMap.get("row1.FILENAME")).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regarding "continue loop" I believe you have the right idea there.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 13:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-dynamic-filename-from-a-tMap-output-field/m-p/2312529#M83473</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-17T13:25:26Z</dc:date>
    </item>
  </channel>
</rss>

