<?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: Get only one latest file from a folder in tfilelist in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Get-only-one-latest-file-from-a-folder-in-tfilelist/m-p/2482410#M141289</link>
    <description>&lt;P&gt;Yes it has successfully displayed one type of the latest file using oncomponentok.&lt;BR /&gt;I have another question. I want to get the latest xls file to process and insert into the database. Where should I put the tfileinputexcel component? And where should I put the tmap for the excel?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asafrian1700127126_0-1726716877328.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171880i218C49EC69AC6FA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="asafrian1700127126_0-1726716877328.png" alt="asafrian1700127126_0-1726716877328.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2024 03:39:58 GMT</pubDate>
    <dc:creator>asafrian1700127126</dc:creator>
    <dc:date>2024-09-19T03:39:58Z</dc:date>
    <item>
      <title>Get only one latest file from a folder in tfilelist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-only-one-latest-file-from-a-folder-in-tfilelist/m-p/2482182#M141284</link>
      <description>&lt;P&gt;I have the following job&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asafrian1700127126_3-1726645810259.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171811i4570D05D4C406507/image-size/medium?v=v2&amp;amp;px=400" role="button" title="asafrian1700127126_3-1726645810259.png" alt="asafrian1700127126_3-1726645810259.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asafrian1700127126_0-1726645630549.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171808iC3D8A7E6DFF8050B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="asafrian1700127126_0-1726645630549.png" alt="asafrian1700127126_0-1726645630549.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asafrian1700127126_1-1726645659148.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171809i07F08DDC98B854CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="asafrian1700127126_1-1726645659148.png" alt="asafrian1700127126_1-1726645659148.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asafrian1700127126_2-1726645696196.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171810iE464CF1E476F510F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="asafrian1700127126_2-1726645696196.png" alt="asafrian1700127126_2-1726645696196.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;when run it displays 2 files&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asafrian1700127126_4-1726645872617.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171812i79774F4277B5A153/image-size/medium?v=v2&amp;amp;px=400" role="button" title="asafrian1700127126_4-1726645872617.png" alt="asafrian1700127126_4-1726645872617.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to display only the latest WLA file? Just one file.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 07:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-only-one-latest-file-from-a-folder-in-tfilelist/m-p/2482182#M141284</guid>
      <dc:creator>asafrian1700127126</dc:creator>
      <dc:date>2024-09-18T07:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get only one latest file from a folder in tfilelist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-only-one-latest-file-from-a-folder-in-tfilelist/m-p/2482302#M141286</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/269871"&gt;@asafrian1700127126&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;There are many ways to do that. This is one:&lt;/P&gt;
&lt;P&gt;- Use a tFileList to list all the files. Set the &lt;EM&gt;Order By&lt;/EM&gt; to be &lt;STRONG&gt;By modified date&lt;/STRONG&gt; and&amp;nbsp;&lt;EM&gt;Order action&amp;nbsp;&lt;/EM&gt;&lt;STRONG&gt;ASC&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marksouzacosta_2-1726670460428.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171848i7ABEDE86B1376641/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marksouzacosta_2-1726670460428.png" alt="marksouzacosta_2-1726670460428.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Next Add a tFileProperties, or anything you need, to be executed after the tFileList component is complete. Then use the tFileList &lt;STRONG&gt;Current File Name with path&lt;/STRONG&gt; property. This will return the most recent modified file with full path.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marksouzacosta_1-1726670340853.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171847iF3EA576702C3692A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marksouzacosta_1-1726670340853.png" alt="marksouzacosta_1-1726670340853.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mark Costa&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 14:41:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-only-one-latest-file-from-a-folder-in-tfilelist/m-p/2482302#M141286</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2024-09-18T14:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get only one latest file from a folder in tfilelist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-only-one-latest-file-from-a-folder-in-tfilelist/m-p/2482403#M141287</link>
      <description>&lt;P&gt;I have followed using tfileproperties but it still displays all the files, but sorted by the latest date. What I want is how to display only the most recent file? just one file.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asafrian1700127126_0-1726713036549.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171878i28704F67C1E752BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="asafrian1700127126_0-1726713036549.png" alt="asafrian1700127126_0-1726713036549.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 02:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-only-one-latest-file-from-a-folder-in-tfilelist/m-p/2482403#M141287</guid>
      <dc:creator>asafrian1700127126</dc:creator>
      <dc:date>2024-09-19T02:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get only one latest file from a folder in tfilelist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-only-one-latest-file-from-a-folder-in-tfilelist/m-p/2482408#M141288</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/269871"&gt;@asafrian1700127126&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;This is what my job is doing. You are getting the wrong relationship between the tFileList and tFileProperties - you are using Iterate, that is why you are listing every single file. You have to call tFileProperties after you execute the whole tFileList component - &lt;STRONG&gt;OnComponentOk&lt;/STRONG&gt; - like in my diagram.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 03:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-only-one-latest-file-from-a-folder-in-tfilelist/m-p/2482408#M141288</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2024-09-19T03:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get only one latest file from a folder in tfilelist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-only-one-latest-file-from-a-folder-in-tfilelist/m-p/2482410#M141289</link>
      <description>&lt;P&gt;Yes it has successfully displayed one type of the latest file using oncomponentok.&lt;BR /&gt;I have another question. I want to get the latest xls file to process and insert into the database. Where should I put the tfileinputexcel component? And where should I put the tmap for the excel?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asafrian1700127126_0-1726716877328.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171880i218C49EC69AC6FA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="asafrian1700127126_0-1726716877328.png" alt="asafrian1700127126_0-1726716877328.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 03:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-only-one-latest-file-from-a-folder-in-tfilelist/m-p/2482410#M141289</guid>
      <dc:creator>asafrian1700127126</dc:creator>
      <dc:date>2024-09-19T03:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Get only one latest file from a folder in tfilelist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-only-one-latest-file-from-a-folder-in-tfilelist/m-p/2482413#M141290</link>
      <description>&lt;P&gt;Great! So, you actually don't need the tFileProperties component there. I added it there just to illustrate the use of the tFilesList_1_CURRENT_FILEPATH property. With that said, you can, for instance, replace the tFileProperties with the tFileInputExcel and the tMap right after that, just like you did before in the first images you sent.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 05:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-only-one-latest-file-from-a-folder-in-tfilelist/m-p/2482413#M141290</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2024-09-19T05:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get only one latest file from a folder in tfilelist</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-only-one-latest-file-from-a-folder-in-tfilelist/m-p/2482650#M141294</link>
      <description>&lt;P&gt;Thank you so much, you are very helpful. I have another question maybe you can help me please visit&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Design-and-Development/How-to-read-specific-excel-cells-using-talend/m-p/2482649#M141293" target="_blank"&gt;https://community.qlik.com/t5/Design-and-Development/How-to-read-specific-excel-cells-using-talend/m-p/2482649#M141293&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 03:42:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-only-one-latest-file-from-a-folder-in-tfilelist/m-p/2482650#M141294</guid>
      <dc:creator>asafrian1700127126</dc:creator>
      <dc:date>2024-09-20T03:42:59Z</dc:date>
    </item>
  </channel>
</rss>

