<?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: tFileProperties as Lookup in tMap how to match the fields when reading from tFileList in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileProperties-as-Lookup-in-tMap-how-to-match-the-fields-when/m-p/2235799#M24731</link>
    <description>&lt;P&gt;Hi mobmsc2&lt;BR /&gt;Read the file properties and cache them into memory for used later, change the job as below:&lt;BR /&gt;ReadFolder -&amp;gt; tfileProperties--tHashoutput--oncomponentok-&lt;BR /&gt;ReadExcel-&amp;gt;tMap(addSourceFileDataToRow) -&amp;gt;tMap(GetModifiedDate) -&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tHashInput&lt;BR /&gt;Let me know if it works.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Shong&lt;/P&gt;</description>
    <pubDate>Mon, 08 Oct 2018 03:08:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-10-08T03:08:28Z</dc:date>
    <item>
      <title>tFileProperties as Lookup in tMap how to match the fields when reading from tFileList</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileProperties-as-Lookup-in-tMap-how-to-match-the-fields-when/m-p/2235796#M24728</link>
      <description>&lt;P&gt;I have a tFileList which iterates through a directory of excel files and a tMap to append the CurrentPath, Directory to the flow.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For each file I read the contents but I want to include the modified date as well so I have the tFileProperties as lookup into a 2nd tmap and I use ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))&amp;nbsp;in the tFileInputExcel and tFileProperties&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried matching the CurrentPath [set in tMap1 using&amp;nbsp;&lt;SPAN&gt;((String)globalMap.get("tFileList_1_CURRENT_FILEPATH")) ] to the tFileProperties basepath and abspath but my output doesn't match for any,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I also changed the tMap lookupModel to reload at each&amp;nbsp;row.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I guess in a nutshell how do I match the tFileProperties to the flow of data out of the same File?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Oct 2018 17:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileProperties-as-Lookup-in-tMap-how-to-match-the-fields-when/m-p/2235796#M24728</guid>
      <dc:creator>mobmsc2</dc:creator>
      <dc:date>2018-10-02T17:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: tFileProperties as Lookup in tMap how to match the fields when reading from tFileList</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileProperties-as-Lookup-in-tMap-how-to-match-the-fields-when/m-p/2235797#M24729</link>
      <description>did you use reload for each row for lockup on properties?&lt;BR /&gt;I do not know if you can retrieve properties on an open file!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Oct 2018 09:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileProperties-as-Lookup-in-tMap-how-to-match-the-fields-when/m-p/2235797#M24729</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-10-03T09:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: tFileProperties as Lookup in tMap how to match the fields when reading from tFileList</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileProperties-as-Lookup-in-tMap-how-to-match-the-fields-when/m-p/2235798#M24730</link>
      <description>&lt;P&gt;I did use reload for each row for lookup.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My job is outlined below. If its not possible to get properties on an open file how do I re-engineer the job so I don't end up getting the properties but not the data rows (assuming I can't ReadExcel if the file is open for tFileProperties&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ReadFolder -&amp;gt; ReadExcel-&amp;gt;tMap(addSourceFileDataToRow) -&amp;gt;tMap(GetModifiedDate) -&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tFileProperties&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 09:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileProperties-as-Lookup-in-tMap-how-to-match-the-fields-when/m-p/2235798#M24730</guid>
      <dc:creator>mobmsc2</dc:creator>
      <dc:date>2018-10-03T09:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: tFileProperties as Lookup in tMap how to match the fields when reading from tFileList</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileProperties-as-Lookup-in-tMap-how-to-match-the-fields-when/m-p/2235799#M24731</link>
      <description>&lt;P&gt;Hi mobmsc2&lt;BR /&gt;Read the file properties and cache them into memory for used later, change the job as below:&lt;BR /&gt;ReadFolder -&amp;gt; tfileProperties--tHashoutput--oncomponentok-&lt;BR /&gt;ReadExcel-&amp;gt;tMap(addSourceFileDataToRow) -&amp;gt;tMap(GetModifiedDate) -&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;tHashInput&lt;BR /&gt;Let me know if it works.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Shong&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 03:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileProperties-as-Lookup-in-tMap-how-to-match-the-fields-when/m-p/2235799#M24731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-08T03:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: tFileProperties as Lookup in tMap how to match the fields when reading from tFileList</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileProperties-as-Lookup-in-tMap-how-to-match-the-fields-when/m-p/2235800#M24732</link>
      <description>&lt;P&gt;That didn't work. If I run in debug mode there are no rows coming in from the lookup hash flow so nothing to match against the flow from the tExcel. Thats even though there there is content read into the hashOutput&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 12:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileProperties-as-Lookup-in-tMap-how-to-match-the-fields-when/m-p/2235800#M24732</guid>
      <dc:creator>mobmsc2</dc:creator>
      <dc:date>2018-10-08T12:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: tFileProperties as Lookup in tMap how to match the fields when reading from tFileList</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileProperties-as-Lookup-in-tMap-how-to-match-the-fields-when/m-p/2235801#M24733</link>
      <description>Change the job design as below: 
&lt;BR /&gt;main job: 
&lt;BR /&gt;tfilelist--iterate--tRunJob 
&lt;BR /&gt; 
&lt;BR /&gt;on tRunjob: call the child job and pass the current file path to child job, refer to this page to know how to pass a value from main job to child job. 
&lt;BR /&gt; 
&lt;A href="https://help.talend.com/reader/Wi~~2Q0v6A43uBlbET9gQg/MHs41sIsaV91cFGXj4DVMQ" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/Wi~~2Q0v6A43uBlbET9gQg/MHs41sIsaV91cFGXj4DVMQ&lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;child job: 
&lt;BR /&gt;tfileProperties--tHashoutput 
&lt;BR /&gt; | 
&lt;BR /&gt;onsubjobok 
&lt;BR /&gt; | 
&lt;BR /&gt; ReadExcel-&amp;gt;tMap(addSourceFileDataToRow) -&amp;gt;tMap(GetModifiedDate) -&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt; | 
&lt;BR /&gt; 
&lt;BR /&gt; | 
&lt;BR /&gt; 
&lt;BR /&gt; tHashInput 
&lt;BR /&gt;This way should work. 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 10 Oct 2018 07:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileProperties-as-Lookup-in-tMap-how-to-match-the-fields-when/m-p/2235801#M24733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-10T07:46:52Z</dc:date>
    </item>
  </channel>
</rss>

