<?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: Problem with context prompt params in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342658#M110492</link>
    <description>kzone, i'll try to do that, but thanks anyway for helping 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Mon, 13 Oct 2014 13:48:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-10-13T13:48:28Z</dc:date>
    <item>
      <title>Problem with context prompt params</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342652#M110486</link>
      <description>Hello guys, 
&lt;BR /&gt;I'm in trouble with prompt box for context params &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 
&lt;BR /&gt;when i run it on the IDE Talend Open it works fine, but when i build the job and run into a .bat file, it doesn't appear 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Ex: 
&lt;BR /&gt; 
&lt;B&gt;Talend Open Studio&lt;/B&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;hope you guys can help me&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 09 Oct 2014 14:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342652#M110486</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-09T14:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with context prompt params</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342653#M110487</link>
      <description>hi,&lt;BR /&gt;it's a normal behavior. Prompt context is only works in studio.(dev context)&lt;BR /&gt;It's not design to affect values in exploitation environment with a prompt UI.&lt;BR /&gt;regards&lt;BR /&gt;laurent</description>
      <pubDate>Thu, 09 Oct 2014 15:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342653#M110487</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-09T15:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with context prompt params</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342654#M110488</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;hi,&lt;BR /&gt;it's a normal behavior. Prompt context is only works in studio.(dev context)&lt;BR /&gt;It's not design to affect values in exploitation environment with a prompt UI.&lt;BR /&gt;regards&lt;BR /&gt;laurent&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;thanks for replying, but there's a solution to do it?
&lt;BR /&gt;i mean, i need to run a .bat and show the prompt box, with 2 dates: init date, end date
&lt;BR /&gt;and those dates are params for tFilterRow on context params.
&lt;BR /&gt;maybe there's an other solution</description>
      <pubDate>Thu, 09 Oct 2014 16:48:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342654#M110488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-09T16:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with context prompt params</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342655#M110489</link>
      <description>you have to pass it in your script with --context_param.</description>
      <pubDate>Thu, 09 Oct 2014 16:50:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342655#M110489</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-09T16:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with context prompt params</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342656#M110490</link>
      <description>could you give me an example?&lt;BR /&gt;i'm learning how to use talend open &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;</description>
      <pubDate>Thu, 09 Oct 2014 16:54:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342656#M110490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-09T16:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with context prompt params</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342657#M110491</link>
      <description>When you've built job, open the .bat or .sh file (a java command line) 
&lt;BR /&gt;could be something like : 
&lt;BR /&gt; 
&lt;PRE&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;cd `dirname $0`&lt;BR /&gt;&amp;nbsp;ROOT_PATH=`pwd`&lt;BR /&gt;&amp;nbsp;java -Xms256M -Xmx1024M -cp $ROOT_PATH/../lib/dom4j-1.6.1.jar:$ROOT_PATH/../lib/talend_file_enhanced_20070724.jar:$ROOT_PATH:$ROOT_PATH/../lib/systemRoutines.jar:$ROOT_PATH/../lib/userRoutines.jar::.:$ROOT_PATH/poc1_0_1.jar: test.poc1_0_1.POC1 --context=Default "$@"&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt;As you can see, there's already a call to a context environement --context. it's related to your different context env that you have declared in your job. 
&lt;BR /&gt;afterward, you can overwrite any params with --context_param yourParam=value 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;cd `dirname $0`&lt;BR /&gt;&amp;nbsp;ROOT_PATH=`pwd`&lt;BR /&gt;&amp;nbsp;java -Xms256M -Xmx1024M -cp $ROOT_PATH/../lib/dom4j-1.6.1.jar:$ROOT_PATH/../lib/talend_file_enhanced_20070724.jar:$ROOT_PATH:$ROOT_PATH/../lib/systemRoutines.jar:$ROOT_PATH/../lib/userRoutines.jar::.:$ROOT_PATH/poc1_0_1.jar: test.poc1_0_1.POC1 --context=Default&amp;nbsp; --context_param yourParam=value "$@"&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt;it's a script, so you also pass the value as argument of this script and make value a variable. 
&lt;BR /&gt; 
&lt;PRE&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;cd `dirname $0`&lt;BR /&gt;&amp;nbsp;ROOT_PATH=`pwd`&lt;BR /&gt;&amp;nbsp;java -Xms256M -Xmx1024M -cp $ROOT_PATH/../lib/dom4j-1.6.1.jar:$ROOT_PATH/../lib/talend_file_enhanced_20070724.jar:$ROOT_PATH:$ROOT_PATH/../lib/systemRoutines.jar:$ROOT_PATH/../lib/userRoutines.jar::.:$ROOT_PATH/poc1_0_1.jar: test.poc1_0_1.POC1 --context=Default&amp;nbsp; --context_param yourParam=$1 "$@"&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt;And you call your job with value as arg. 
&lt;BR /&gt; 
&lt;PRE&gt;&lt;BR /&gt;./POC1_run.sh yourvalue&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt;I prefer to use explicit/implicit context load in general with a config.ini 
&lt;BR /&gt; 
&lt;A href="https://help.talend.com/search/all?query=Context+settings&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=Context+settings&amp;amp;content-lang=en&lt;/A&gt; 
&lt;BR /&gt;hope it helps 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent</description>
      <pubDate>Mon, 13 Oct 2014 10:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342657#M110491</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-13T10:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with context prompt params</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342658#M110492</link>
      <description>kzone, i'll try to do that, but thanks anyway for helping 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 13 Oct 2014 13:48:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342658#M110492</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-13T13:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with context prompt params</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342659#M110493</link>
      <description>Why does Talend only allow you to prompt for context variables, in the Design Tool? There seems little point in this.&lt;BR /&gt;I can see many application where it would be useful to have a dialog of options appear, when you run your Job (as a standalone Job).&lt;BR /&gt;Some have suggested that you can use tMsgBox; but this doesn't really cut it, especially if you want to use a directory/file chooser.</description>
      <pubDate>Tue, 17 Mar 2015 08:32:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-context-prompt-params/m-p/2342659#M110493</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T08:32:17Z</dc:date>
    </item>
  </channel>
</rss>

