<?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: how to set context variables to see other context variables in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221930#M15729</link>
    <description>&lt;P&gt;thanks for replies.&lt;/P&gt;&lt;P&gt;My question is how to set context variables to see&amp;nbsp;other variables&amp;nbsp;without using tJava.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2019 09:38:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-03-06T09:38:14Z</dc:date>
    <item>
      <title>how to set context variables to see other context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221925#M15724</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How can I set context variables to see other context variables?&lt;/P&gt;&lt;P&gt;I would like to do like below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;/P&gt;&lt;P&gt;&amp;nbsp; parentID parentValue + context.childID&lt;/P&gt;&lt;P&gt;&amp;nbsp; childID&amp;nbsp;&amp;nbsp;&amp;nbsp; childValue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im using Talend Open Studio for Data Integration.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 02:20:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221925#M15724</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-06T02:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to set context variables to see other context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221926#M15725</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPKiAAO"&gt;@coffeeno&lt;/A&gt;&amp;nbsp;,in a subjob you can sett contexts using tjava component&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(String)globalMap.put("&lt;SPAN&gt;childID&lt;/SPAN&gt;&lt;SPAN&gt;",childValue);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;(String)globalMap.put("&lt;SPAN&gt;parentID",parentValue + context.childID);&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 04:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221926#M15725</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-03-06T04:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to set context variables to see other context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221927#M15726</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I would like to use global context , not globalMap in tJava.&lt;/P&gt;&lt;P&gt;Is this impossible ?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 04:17:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221927#M15726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-06T04:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to set context variables to see other context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221928#M15727</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPKiAAO"&gt;@coffeeno&lt;/A&gt;&amp;nbsp;,you can check with tContextLoad to load the contexts.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 04:20:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221928#M15727</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-03-06T04:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to set context variables to see other context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221929#M15728</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPKiAAO"&gt;@coffeeno&lt;/A&gt;&amp;nbsp;,check the below example you can set.&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="Untitled.png" style="width: 742px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2Fq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134108i83AAC019EF7CDC15/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2Fq.png" alt="0683p000009M2Fq.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Java code:&lt;/P&gt; 
&lt;P&gt;context.childID="EDG";&lt;BR /&gt;context.parentID=context.childID+"DEF";&lt;BR /&gt;System.out.println(context.childID);&lt;BR /&gt;System.out.println(context.parentID);&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 734px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2c1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153515i7B7B97571B9A6BFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2c1.png" alt="0683p000009M2c1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 04:38:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221929#M15728</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-03-06T04:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to set context variables to see other context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221930#M15729</link>
      <description>&lt;P&gt;thanks for replies.&lt;/P&gt;&lt;P&gt;My question is how to set context variables to see&amp;nbsp;other variables&amp;nbsp;without using tJava.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 09:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221930#M15729</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-06T09:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to set context variables to see other context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221931#M15730</link>
      <description>&lt;P&gt;Context variables can see other context variables in the same job. They can also be passed between jobs. Can you elaborate on your question as&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;has covered my interpretations of your question.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 09:41:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221931#M15730</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-06T09:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to set context variables to see other context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221932#M15731</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;gt;context.parentID=context.childID+"DEF";&lt;/P&gt;&lt;P&gt;I know by using tJava, i can set context variables to see other context variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I would like to know ,in only within context window, how to set context variables to see other context variables.&lt;/P&gt;&lt;P&gt;because i suppose context variables within context window will be property-file after making batches,&lt;/P&gt;&lt;P&gt;which is i want to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 13:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221932#M15731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-06T13:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to set context variables to see other context variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221933#M15732</link>
      <description>&lt;P&gt;I'm afraid that is not possible. You will notice that the context window takes all values as literal values. For example, you do not need to surround Strings in quotes. You can only set literal values here. So trying to reference another context variable will simply be understood as setting the value to the name of the variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, there is absolutely nothing wrong with using the tJava component to achieve what you want. Talend is a Java tool and you will notice that the design window simply enables Java code generation behind the scenes. If you want to achieve your requirement you can start your job with a tJava component and carry out the context manipulation there. You can do this anywhere in the job, but my assumption is that you want it done at the beginning because if it was possible to do this in the context window, it would be done at the beginning of the job.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 13:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-set-context-variables-to-see-other-context-variables/m-p/2221933#M15732</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-06T13:51:32Z</dc:date>
    </item>
  </channel>
</rss>

