<?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.put() not working in tJavaRow in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329659#M98831</link>
    <description>&lt;P&gt;It's work !&lt;/P&gt; 
&lt;P&gt;Finally I removed the HashMap statement, and instead of charAt(0), I put charAt(1) (java array don't start at 0?).&lt;BR /&gt;I finally got the result I wanted, thank you both for taking your time!&lt;/P&gt;</description>
    <pubDate>Wed, 16 May 2018 12:47:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-16T12:47:34Z</dc:date>
    <item>
      <title>globalMap.put() not working in tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329652#M98824</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I try to change a globalMap variable in tJavaRow at every row (with a test).&lt;/P&gt; 
&lt;P&gt;but my problem is that it doesn't change anything when I use globalMap.put("CPBox",input_row.CPBox)...&lt;/P&gt; 
&lt;P&gt;I'm beginner and i think i don't use tSetGlobalVar in the right place...&lt;/P&gt; 
&lt;P&gt;Here is my job :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TalendtJavaRowExemple.png" style="width: 725px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lxet.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129682i96E1A91E682CA392/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lxet.png" alt="0683p000009Lxet.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In my .csv, the output "CpBox" is the default variable "myValue" of the tSetGlobalVar...&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Someone can help me ? ^^&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 09:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329652#M98824</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-16T09:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: globalMap.put() not working in tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329653#M98825</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;SPAN&gt;tSetGlobalVar starts first, you need to put your&amp;nbsp;tJavaRow in a previous subjob&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 09:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329653#M98825</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-05-16T09:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: globalMap.put() not working in tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329654#M98826</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;, i think I understand what you mean, but I don't see how to realize it...&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 09:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329654#M98826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-16T09:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: globalMap.put() not working in tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329655#M98827</link>
      <description>&lt;P&gt;Well, maybe was not a so good idea.&lt;/P&gt;&lt;P&gt;What do you do in your tMap?&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 09:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329655#M98827</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-05-16T09:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: globalMap.put() not working in tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329656#M98828</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;I make this :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TalendtMapExample.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lxf3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129504iADECF9509429260D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lxf3.png" alt="0683p000009Lxf3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Here is the version simplify for test, I actually get one address per customer, and a customer can have multiple delivery addresses (depending on where the warehouse is located), but the billing address is the same each time. And it changes for each client. So I want to define the billing address as soon as CLCCLL == 0 in global variable to have access to this address for all customer records.&lt;BR /&gt;Because CLCCLL was 0 for the parent company, 1 for the first warehouse, 2 for the second,etc...&lt;/P&gt; 
&lt;P&gt;and CLCCLL was reset for the second customer,etc...&lt;BR /&gt;I don't know if I'm clear, I myself had a little trouble understanding...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 09:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329656#M98828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-16T09:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: globalMap.put() not working in tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329657#M98829</link>
      <description>&lt;P&gt;In your tJavaRow you are creating a new HashMap called "globalMapp". You do not need to create the "globalMap" HashMap, it is created by Talend for you. It also only has one "p".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your tMap you are using the correct globalMap. However this will have no data since you were adding it to the one you created.&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 11:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329657#M98829</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-16T11:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: globalMap.put() not working in tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329658#M98830</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;, ok thanks, and how can i have data in the globalMap ? How can i put the data in the globalMap and use in tMap after ? ^^&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 12:32:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329658#M98830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-16T12:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: globalMap.put() not working in tJavaRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329659#M98831</link>
      <description>&lt;P&gt;It's work !&lt;/P&gt; 
&lt;P&gt;Finally I removed the HashMap statement, and instead of charAt(0), I put charAt(1) (java array don't start at 0?).&lt;BR /&gt;I finally got the result I wanted, thank you both for taking your time!&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 12:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/globalMap-put-not-working-in-tJavaRow/m-p/2329659#M98831</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-16T12:47:34Z</dc:date>
    </item>
  </channel>
</rss>

