<?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: set context variables based on environment in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/set-context-variables-based-on-environment/m-p/2301476#M73582</link>
    <description>&lt;P&gt;I get the gist, but I am not sure what script file you are referring to. I launch the jobs using TAC - so, is there a config file in TAC that I can update?&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2017 14:25:11 GMT</pubDate>
    <dc:creator>radhikari</dc:creator>
    <dc:date>2017-06-29T14:25:11Z</dc:date>
    <item>
      <title>set context variables based on environment</title>
      <link>https://community.qlik.com/t5/Talend-Studio/set-context-variables-based-on-environment/m-p/2301474#M73580</link>
      <description>&lt;P&gt;Since I am a Talend newbie, my apologies if this has been address already.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, we have created a couple of content&amp;nbsp;groups to store context variables for database connection, file path, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, when we deploy and run these jobs to various environments (DEV, TEST, PROD), how do the jobs which which environment it's running on? Do we need to define DEV, TEST, PROD using some sort of environment variable in each environment?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2017 15:31:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/set-context-variables-based-on-environment/m-p/2301474#M73580</guid>
      <dc:creator>radhikari</dc:creator>
      <dc:date>2017-06-28T15:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: set context variables based on environment</title>
      <link>https://community.qlik.com/t5/Talend-Studio/set-context-variables-based-on-environment/m-p/2301475#M73581</link>
      <description>Look at the script file you used to lauch the job, it contains something like "--context=default" (not sure how it is exactly but this is the idea). 
&lt;BR /&gt;So, you can change the command line with the context you want to use or just copy the XXX.properties file (here again, check the filename) to default.properties file (replace XXX by the context name you want to use). 
&lt;BR /&gt;You got it?</description>
      <pubDate>Wed, 28 Jun 2017 20:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/set-context-variables-based-on-environment/m-p/2301475#M73581</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-06-28T20:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: set context variables based on environment</title>
      <link>https://community.qlik.com/t5/Talend-Studio/set-context-variables-based-on-environment/m-p/2301476#M73582</link>
      <description>&lt;P&gt;I get the gist, but I am not sure what script file you are referring to. I launch the jobs using TAC - so, is there a config file in TAC that I can update?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 14:25:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/set-context-variables-based-on-environment/m-p/2301476#M73582</guid>
      <dc:creator>radhikari</dc:creator>
      <dc:date>2017-06-29T14:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: set context variables based on environment</title>
      <link>https://community.qlik.com/t5/Talend-Studio/set-context-variables-based-on-environment/m-p/2301477#M73583</link>
      <description>I was speaking about Community version. Using TAC, as I remember, you select the context to use when you create the task or maybe when you deploy the job. Sorry, can't try be myself as I don't have access to the Enterprise version at the moment.</description>
      <pubDate>Thu, 29 Jun 2017 21:20:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/set-context-variables-based-on-environment/m-p/2301477#M73583</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-06-29T21:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: set context variables based on environment</title>
      <link>https://community.qlik.com/t5/Talend-Studio/set-context-variables-based-on-environment/m-p/2301478#M73584</link>
      <description>&lt;P&gt;You select the right context when you create the task in TAC. &amp;nbsp;It is&amp;nbsp;the &lt;STRONG&gt;context&lt;/STRONG&gt; option when you create a task in TAC. The context will list DEV, TEST, PROD as per what you have specified in the Studio when defining your context groups. &amp;nbsp;Selecting the context means the job will be executed with the default values you specified in the studio for that context. &amp;nbsp;You can still override specific context variables in the TAC.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 07:46:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/set-context-variables-based-on-environment/m-p/2301478#M73584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T07:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: set context variables based on environment</title>
      <link>https://community.qlik.com/t5/Talend-Studio/set-context-variables-based-on-environment/m-p/2301479#M73585</link>
      <description>&lt;P&gt;How do you override the individual context variables from within the TAC? &amp;nbsp;I see where you set the context (DEV/TEST/etc) in the Job Conductor, but how do you set the actual variables?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 18:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/set-context-variables-based-on-environment/m-p/2301479#M73585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-29T18:32:29Z</dc:date>
    </item>
  </channel>
</rss>

