<?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: global variable and vectors in Talend Data Catalog</title>
    <link>https://community.qlik.com/t5/Talend-Data-Catalog/global-variable-and-vectors/m-p/2325660#M401</link>
    <description>&lt;P&gt;Hi, I forget to tell that myEnv is not a column name it is arrayList variable I generate it inside tJavaflex component. The most important thing is that why when I try to use this global variable (inside tmap for example) it consider it just as String not arraylist ?&lt;/P&gt; 
&lt;P&gt;Thanks to all and hope to help faster&lt;/P&gt;</description>
    <pubDate>Fri, 25 Oct 2019 15:36:43 GMT</pubDate>
    <dc:creator>MZein</dc:creator>
    <dc:date>2019-10-25T15:36:43Z</dc:date>
    <item>
      <title>global variable and vectors</title>
      <link>https://community.qlik.com/t5/Talend-Data-Catalog/global-variable-and-vectors/m-p/2325657#M398</link>
      <description>&lt;P&gt;I have save a set of data inside a vector in tJavaflex component. after that I generate global variable for my array as follows&lt;/P&gt;
&lt;P&gt;globalMap.put("MyEnvironment", myEnv);&lt;/P&gt;
&lt;P&gt;where myEnv is a vector of string.&lt;/P&gt;
&lt;P&gt;How I can reuse this global variable in another component like tMap ( as a vector that i can index it)&lt;/P&gt;
&lt;P&gt;By the way I tried&amp;nbsp;&amp;nbsp;myv = (java.util.Vector&amp;lt;String&amp;gt;)globalMap.get("MyEnvironment"); to retrieve my vector but it return null !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:16:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Data-Catalog/global-variable-and-vectors/m-p/2325657#M398</guid>
      <dc:creator>MZein</dc:creator>
      <dc:date>2024-11-16T04:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: global variable and vectors</title>
      <link>https://community.qlik.com/t5/Talend-Data-Catalog/global-variable-and-vectors/m-p/2325658#M399</link>
      <description>Hi 
&lt;BR /&gt;If myEnv is a column name, you need to change the expression to 
&lt;BR /&gt;globalMap.put("MyEnvironment", row1.myEnv); 
&lt;BR /&gt; 
&lt;BR /&gt;// row1 is the input flow name. 
&lt;BR /&gt;on other component in next subjob, you can get the value with expression: 
&lt;BR /&gt;(String)globalMap.get("MyEnvironment") 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 25 Oct 2019 03:54:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Data-Catalog/global-variable-and-vectors/m-p/2325658#M399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-25T03:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: global variable and vectors</title>
      <link>https://community.qlik.com/t5/Talend-Data-Catalog/global-variable-and-vectors/m-p/2325659#M400</link>
      <description>&lt;P&gt;Thank you for your replay. I use it but the always the global variable takes the previous value of the input row. please note the photos. I want to generate a file for each value of env&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwR1"&gt;env1.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lvz3"&gt;env2.PNG&lt;/A&gt;</description>
      <pubDate>Fri, 25 Oct 2019 09:07:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Data-Catalog/global-variable-and-vectors/m-p/2325659#M400</guid>
      <dc:creator>MZein</dc:creator>
      <dc:date>2019-10-25T09:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: global variable and vectors</title>
      <link>https://community.qlik.com/t5/Talend-Data-Catalog/global-variable-and-vectors/m-p/2325660#M401</link>
      <description>&lt;P&gt;Hi, I forget to tell that myEnv is not a column name it is arrayList variable I generate it inside tJavaflex component. The most important thing is that why when I try to use this global variable (inside tmap for example) it consider it just as String not arraylist ?&lt;/P&gt; 
&lt;P&gt;Thanks to all and hope to help faster&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 15:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Data-Catalog/global-variable-and-vectors/m-p/2325660#M401</guid>
      <dc:creator>MZein</dc:creator>
      <dc:date>2019-10-25T15:36:43Z</dc:date>
    </item>
  </channel>
</rss>

