<?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 Declare context variable that references another context variable in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Declare-context-variable-that-references-another-context/m-p/2363940#M127748</link>
    <description>&lt;P&gt;Hi&lt;BR /&gt;I have a context defined in studio and I'd like to declare a named context variable who's value references ANOTHER context variable&lt;BR /&gt;Such as&lt;BR /&gt;VAR1 = "&lt;A href="http://www.whatever.com/${othercontextvariable}" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.whatever.com/${othercontextvariable}&lt;/A&gt;"&lt;BR /&gt;Is this possible?&lt;/P&gt;</description>
    <pubDate>Thu, 21 Apr 2016 17:58:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-21T17:58:30Z</dc:date>
    <item>
      <title>Declare context variable that references another context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Declare-context-variable-that-references-another-context/m-p/2363940#M127748</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;I have a context defined in studio and I'd like to declare a named context variable who's value references ANOTHER context variable&lt;BR /&gt;Such as&lt;BR /&gt;VAR1 = "&lt;A href="http://www.whatever.com/${othercontextvariable}" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.whatever.com/${othercontextvariable}&lt;/A&gt;"&lt;BR /&gt;Is this possible?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 17:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Declare-context-variable-that-references-another-context/m-p/2363940#M127748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-21T17:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Declare context variable that references another context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Declare-context-variable-that-references-another-context/m-p/2363941#M127749</link>
      <description>You can certainly say: -
&lt;BR /&gt;
&lt;BR /&gt;context.var1 = "index.html";
&lt;BR /&gt;context.var2 = "
&lt;A href="http://www.whatever.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.acme.com/&lt;/A&gt;" + context.var1;
&lt;BR /&gt;or you can put it on the Global Map
&lt;BR /&gt;globalMap.put("VAR2", "
&lt;A href="http://www.whatever.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://&lt;/A&gt;
&lt;A href="http://www.whatever.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;a&lt;/A&gt;cme.com/" + context.var1);
&lt;BR /&gt;and retrieve it with
&lt;BR /&gt;((String) globalMap.get("VAR2"));
&lt;BR /&gt;
&lt;BR /&gt;remembering to null test when referencing these objects</description>
      <pubDate>Thu, 21 Apr 2016 19:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Declare-context-variable-that-references-another-context/m-p/2363941#M127749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-21T19:56:30Z</dc:date>
    </item>
  </channel>
</rss>

