<?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 Create Context Variables in the Repository in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-Create-Context-Variables-in-the-Repository/m-p/2329583#M98762</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thanks for sharing it on forum.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Fri, 02 Feb 2018 08:07:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-02T08:07:29Z</dc:date>
    <item>
      <title>How to Create Context Variables in the Repository</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Create-Context-Variables-in-the-Repository/m-p/2329582#M98761</link>
      <description>&lt;P&gt;Context variables are user defined variables that can be changed at runtime with different parameters and are a fantastic way to save time and help with collaboration among developers. These variables can be set with different values based on the environment they are run in (For example: test vs production), making it so you don’t have to build the same job more than once. These variables can be created within the job itself, or in the repository as metadata.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;To create context variables in the repository you need to go into the repository and right click “Contexts”. This will allow you to create a new context group where you can give it the appropriate name, purpose, and description.&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="pic1.png" style="width: 484px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsZc.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156259iE1B38031FDC39635/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsZc.png" alt="0683p000009LsZc.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic2.png" style="width: 516px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsIM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139736iC55D3A2B6CA8D315/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsIM.png" alt="0683p000009LsIM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Once you fill out the context group details you can use the green plus sign at the bottom left of the window, where you can choose to add new context variables for your group. Once you have added a new context variable, create a name for your context variable, the data type, any comments you may want to add about your variable, as well as, a value.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Using the plus sign closer to the top right of the window will allow you to add different environments for your variable. Bellow, I created two different environments, “Production” and “Test”, with “Test” being set as the “Default”. Being a “Default” simply means that, if not specified, the value under the “Test” environment will be used for the context variable.&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="pic3.png" style="width: 539px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lsd5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149195iB69675B6B3DE959A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lsd5.png" alt="0683p000009Lsd5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic4.png" style="width: 370px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsbT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146754i5D34C4EA9DDEBBD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsbT.png" alt="0683p000009LsbT.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now that you have created your context variable group you can find them in the same place you created them, the Repository. From there you can simply click and drag them onto the canvas to add them to your job, or you can select the “Contexts” tab in the Configuration tab section, then click on the context variable icon at the bottom left corner. In the tab you can also change the “Default context environment.” Don’t forget you can also reuse these variables as many times as you need to for multiple jobs.&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="pic5.png" style="width: 638px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsID.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129014iE9E55BB7507FD622/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsID.png" alt="0683p000009LsID.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 20:53:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Create-Context-Variables-in-the-Repository/m-p/2329582#M98761</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-29T20:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Context Variables in the Repository</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Create-Context-Variables-in-the-Repository/m-p/2329583#M98762</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thanks for sharing it on forum.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 08:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Create-Context-Variables-in-the-Repository/m-p/2329583#M98762</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-02T08:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Context Variables in the Repository</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-Create-Context-Variables-in-the-Repository/m-p/2329584#M98763</link>
      <description>&lt;DIV class="style-scope ytd-comment-renderer"&gt;
 &lt;DIV class="style-scope ytd-expander"&gt;
  &lt;FONT color="#3366FF"&gt;&lt;U&gt;A description of the error. This variable is cleared upon entering a step, and is set when an error occurs during step operation. This variable can only be used in the next step condition. The ErrorDescription is also saved in the C.sys.LastErrorDescription and this value is not cleared. For more information about this variable and&amp;nbsp;&lt;/U&gt;&lt;/FONT&gt; 
  &lt;A href="https://downloader.vip/ccleaner/" target="_self" rel="nofollow noopener noreferrer"&gt;CCleaner &lt;/A&gt;&amp;nbsp;
  &lt;A href="https://www.happywheels.vip/" target="_self" rel="nofollow noopener noreferrer"&gt;Happy Wheels&lt;/A&gt;&amp;nbsp; 
  &lt;A href="https://vlc.onl/" target="_self" rel="nofollow noopener noreferrer"&gt;VLC&lt;/A&gt;
 &lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Sep 2018 12:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-Create-Context-Variables-in-the-Repository/m-p/2329584#M98763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-24T12:44:04Z</dc:date>
    </item>
  </channel>
</rss>

