<?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: Extract FileName from tLogRow/tSortRow in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Extract-FileName-from-tLogRow-tSortRow/m-p/2349141#M116159</link>
    <description>&lt;P&gt;Finally fixed the issue (and simplified the flow a little more). Utilized the tFileList component, used the tIterateToRow to pipe the iterated list into tSampleRow. Kept one record and used tSetGlobalVar component to capture the needed variables.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jul 2018 17:51:41 GMT</pubDate>
    <dc:creator>sushantV</dc:creator>
    <dc:date>2018-07-16T17:51:41Z</dc:date>
    <item>
      <title>Extract FileName from tLogRow/tSortRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-FileName-from-tLogRow-tSortRow/m-p/2349138#M116156</link>
      <description>&lt;P&gt;am new to Talend and just trying to work my way through it. Have been trying to extract the most recent file from a list within a directory. Iterated through all the files, retained their properties in a buffer. Post completion of this sub-task, read through the buffer, sorted with descending mime, extracted the top record and was able to print it using tLogRow. All seems to be fine except I don't know how to use the filename now for next task. I am certain this is very rudimentary but I'll be honest, I've been scourging the internet/help from quite some time now, with no success. Any pointers would help. The job flow is attached for your reference.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;All I need is a way to use the "abs_path" variable, which I can later use to process the file dynamically.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&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="extract_filename.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzFR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131413iDE447536C4D2E295/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzFR.png" alt="0683p000009LzFR.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2018 17:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-FileName-from-tLogRow-tSortRow/m-p/2349138#M116156</guid>
      <dc:creator>sushantV</dc:creator>
      <dc:date>2018-07-12T17:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extract FileName from tLogRow/tSortRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-FileName-from-tLogRow-tSortRow/m-p/2349139#M116157</link>
      <description>Good job buddy, almost there!!!
&lt;BR /&gt;get the iterate to a tFileInputDelimited component and where you put the file path and name ... use CTRL+SPACE and scroll for the tFileList1.CURRENT_FILEPATH and thats it. Like you did with the tFileProperties...
&lt;BR /&gt;
&lt;BR /&gt;Now I assume you want tBufferInput -&amp;gt; tFlowtoIterate -&amp;gt; tFileInputDelimited to process the files.
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jul 2018 21:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-FileName-from-tLogRow-tSortRow/m-p/2349139#M116157</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-07-12T21:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Extract FileName from tLogRow/tSortRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-FileName-from-tLogRow-tSortRow/m-p/2349140#M116158</link>
      <description>&lt;P&gt;Thanks for responding.&lt;/P&gt;&lt;P&gt;Not sure if I followed your recommendation. Mind elucidating a bit?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can get all the needed information by my last node, as printed by the tLogRow. How do I pipe that to the tPositionalFile, is what I am confused about.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jul 2018 23:39:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-FileName-from-tLogRow-tSortRow/m-p/2349140#M116158</guid>
      <dc:creator>sushantV</dc:creator>
      <dc:date>2018-07-15T23:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Extract FileName from tLogRow/tSortRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-FileName-from-tLogRow-tSortRow/m-p/2349141#M116159</link>
      <description>&lt;P&gt;Finally fixed the issue (and simplified the flow a little more). Utilized the tFileList component, used the tIterateToRow to pipe the iterated list into tSampleRow. Kept one record and used tSetGlobalVar component to capture the needed variables.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 17:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-FileName-from-tLogRow-tSortRow/m-p/2349141#M116159</guid>
      <dc:creator>sushantV</dc:creator>
      <dc:date>2018-07-16T17:51:41Z</dc:date>
    </item>
  </channel>
</rss>

