<?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: globalMap returns null at tAdvancedFileOutputXml file name in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/globalMap-returns-null-at-tAdvancedFileOutputXml-file-name/m-p/2319185#M89461</link>
    <description>requestId is a field?&lt;BR /&gt;so it row1.requestId</description>
    <pubDate>Wed, 27 Jun 2018 11:21:53 GMT</pubDate>
    <dc:creator>fdenis</dc:creator>
    <dc:date>2018-06-27T11:21:53Z</dc:date>
    <item>
      <title>globalMap returns null at tAdvancedFileOutputXml file name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/globalMap-returns-null-at-tAdvancedFileOutputXml-file-name/m-p/2319182#M89458</link>
      <description>&lt;P&gt;Hello everyone.&lt;BR /&gt;&lt;BR /&gt;I have an issue in TOS 5.4.&lt;BR /&gt;&lt;BR /&gt;I need to create xml file according to field gathered from another xml. And I need to have dynamic file name of output file. But globalMap.get returns null in file name field.&lt;/P&gt; 
&lt;P&gt;I have checked that I have such value in globalMap by tJava element.&lt;BR /&gt;&lt;BR /&gt;Please see screenshots.&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="Снимок1.PNG" style="width: 747px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lxxn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149529iFEA14BF29409BA85/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lxxn.png" alt="0683p000009Lxxn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Безымянный1.png" style="width: 868px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lxxo.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144654iAE1D56D22F85CA4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lxxo.png" alt="0683p000009Lxxo.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Безымянный2.png" style="width: 401px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lxxp.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155344i274C668D872CC3F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lxxp.png" alt="0683p000009Lxxp.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Code in tJava_1&lt;/P&gt; 
&lt;PRE&gt;System.out.println("/Outbound/tokenRequestTemp/" +((String)globalMap.get("requestId"))+ ".xml");&lt;/PRE&gt; 
&lt;P&gt;I'm really stuck with that. Because I was using globalMap like this in another Output components and it was working fine.&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 10:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/globalMap-returns-null-at-tAdvancedFileOutputXml-file-name/m-p/2319182#M89458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-27T10:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: globalMap returns null at tAdvancedFileOutputXml file name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/globalMap-returns-null-at-tAdvancedFileOutputXml-file-name/m-p/2319183#M89459</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOWkAAO"&gt;@NikitaMikh&lt;/A&gt;,how are you putting global map value for&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;requestId?&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Jun 2018 11:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/globalMap-returns-null-at-tAdvancedFileOutputXml-file-name/m-p/2319183#M89459</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-06-27T11:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: globalMap returns null at tAdvancedFileOutputXml file name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/globalMap-returns-null-at-tAdvancedFileOutputXml-file-name/m-p/2319184#M89460</link>
      <description>&lt;P&gt;Hello Manohar.&lt;/P&gt;&lt;P&gt;Yes in tJavaRow_1&lt;/P&gt;&lt;PRE&gt;globalMap.put("requestId", requestId);&lt;/PRE&gt;&lt;P&gt;And value is not null. I'm checking it in tJava_1 and output is correct.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 11:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/globalMap-returns-null-at-tAdvancedFileOutputXml-file-name/m-p/2319184#M89460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-27T11:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: globalMap returns null at tAdvancedFileOutputXml file name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/globalMap-returns-null-at-tAdvancedFileOutputXml-file-name/m-p/2319185#M89461</link>
      <description>requestId is a field?&lt;BR /&gt;so it row1.requestId</description>
      <pubDate>Wed, 27 Jun 2018 11:21:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/globalMap-returns-null-at-tAdvancedFileOutputXml-file-name/m-p/2319185#M89461</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-06-27T11:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: globalMap returns null at tAdvancedFileOutputXml file name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/globalMap-returns-null-at-tAdvancedFileOutputXml-file-name/m-p/2319186#M89462</link>
      <description>&lt;P&gt;This is how I'm put requestId in globalMap in tJavaRow_1&lt;/P&gt;
&lt;PRE&gt;String requestId = (String)globalMap.get("tWaitForFile_1_FILENAME");
requestId = requestId.substring(0, requestId.length() - 4);
requestId = requestId.replace(" ", "_");
globalMap.put("requestId", requestId);&lt;/PRE&gt;
&lt;P&gt;No matter what I'm writing in file name: globalMap.get("requestId") or tokenRequest.requestId - output file name is still null.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 11:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/globalMap-returns-null-at-tAdvancedFileOutputXml-file-name/m-p/2319186#M89462</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-27T11:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: globalMap returns null at tAdvancedFileOutputXml file name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/globalMap-returns-null-at-tAdvancedFileOutputXml-file-name/m-p/2319187#M89463</link>
      <description>ok sorry it's time problem.
&lt;BR /&gt;xml file is open in write mode before calculation of the gblbalMap value.
&lt;BR /&gt;
&lt;BR /&gt;Solution is:
&lt;BR /&gt;tWaitForFile - iterate- tjava to set globalMap - onSubjobOk -
&lt;BR /&gt;tFileInputXml…….</description>
      <pubDate>Wed, 27 Jun 2018 13:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/globalMap-returns-null-at-tAdvancedFileOutputXml-file-name/m-p/2319187#M89463</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-06-27T13:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: globalMap returns null at tAdvancedFileOutputXml file name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/globalMap-returns-null-at-tAdvancedFileOutputXml-file-name/m-p/2319188#M89464</link>
      <description>&lt;P&gt;Ok, got it. Its time problem as Francois Denis said.&lt;BR /&gt;I have managed it through tRowGenerator&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="Безымянный3.png" style="width: 629px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyCs.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145370iCF9CA8ED2E5EB05F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyCs.png" alt="0683p000009LyCs.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you Francois Denis.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 14:12:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/globalMap-returns-null-at-tAdvancedFileOutputXml-file-name/m-p/2319188#M89464</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-27T14:12:16Z</dc:date>
    </item>
  </channel>
</rss>

