<?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: [Talend job] Let the user choosing between two different contexts when he executes the job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-job-Let-the-user-choosing-between-two-different-contexts/m-p/2361448#M125815</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Is this solution OK with you? Feel free to post your issue on forum.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jul 2018 03:36:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-07-30T03:36:06Z</dc:date>
    <item>
      <title>[Talend job] Let the user choosing between two different contexts when he executes the job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-job-Let-the-user-choosing-between-two-different-contexts/m-p/2361446#M125813</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;I have a job that I want to execute with two different contexts.&lt;/P&gt;
&lt;P&gt;In Talend, I have my two contexts set up, and it is quite easy to switch between them by selected one of them in the Run tab.&lt;/P&gt;
&lt;P&gt;But after building the job, I am executing it by launching the .bat file, and there is only one context that is set up in the file (with the --context parameter). I have my two contexts in two properties file in the contexts folder, so I suppose that I just need to pass the right context into the --context variable in the .bat file, but I need to design a job where the user won't need to edit the .bat file.&lt;/P&gt;
&lt;P&gt;I thought about passing a parameter into the --context variable in the .bat file, but I don't know how to proceed.&lt;/P&gt;
&lt;P&gt;Is there someone who have an idea about this need?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 15:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-job-Let-the-user-choosing-between-two-different-contexts/m-p/2361446#M125813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-19T15:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: [Talend job] Let the user choosing between two different contexts when he executes the job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-job-Let-the-user-choosing-between-two-different-contexts/m-p/2361447#M125814</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You are able to define variable context value from the command line.&lt;/P&gt;
&lt;P&gt;Please have a look at this online document:&lt;A title="https://help.talend.com/reader/QrWkwPvKmKybs~JNLeBt3Q/bR16_SpzewPBtorvHtIgpA" href="https://help.talend.com/reader/QrWkwPvKmKybs~JNLeBt3Q/bR16_SpzewPBtorvHtIgpA" target="_self" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/QrWkwPvKmKybs~JNLeBt3Q/bR16_SpzewPBtorvHtIgpA&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Additionally, you can use tContextLoad component&amp;nbsp; to load context variables dynamically from a delimited file(e.g.) as well when you run the job with different environments.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 09:49:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-job-Let-the-user-choosing-between-two-different-contexts/m-p/2361447#M125814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-27T09:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: [Talend job] Let the user choosing between two different contexts when he executes the job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-job-Let-the-user-choosing-between-two-different-contexts/m-p/2361448#M125815</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Is this solution OK with you? Feel free to post your issue on forum.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 03:36:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-job-Let-the-user-choosing-between-two-different-contexts/m-p/2361448#M125815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-30T03:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: [Talend job] Let the user choosing between two different contexts when he executes the job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-job-Let-the-user-choosing-between-two-different-contexts/m-p/2361449#M125816</link>
      <description>&lt;P&gt;I think the most appropriate solution is to create two context files and load them through the command line. I did that and it seems to work fine. For the tContextLoad component, I'm not sure that it corresponds to my need because how do you choose which context you want to use when you have two contexts set up in the component? The user won't execute the job through Talend but only through a command line.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 08:55:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-job-Let-the-user-choosing-between-two-different-contexts/m-p/2361449#M125816</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-30T08:55:15Z</dc:date>
    </item>
  </channel>
</rss>

