<?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: new user - tcontextload not updating context variable in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/new-user-tcontextload-not-updating-context-variable/m-p/2364831#M128528</link>
    <description>Sure, see below. Thanks for the reply.
&lt;BR /&gt;This is just a test job I am using to understand the functionality. The default context remains active even though the log pane says its been updated.
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Michael</description>
    <pubDate>Mon, 23 Nov 2009 17:13:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-11-23T17:13:30Z</dc:date>
    <item>
      <title>new user - tcontextload not updating context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/new-user-tcontextload-not-updating-context-variable/m-p/2364829#M128526</link>
      <description>Hello, 
&lt;BR /&gt;I am using a context variable to dynamically update the output directory in a toutputfiledelimineted node. I am using tcontextload to update the context variable. I have the tables set correctly and the run window says: 
&lt;BR /&gt;tContextLoad set key employer_id with value 'C:\users\mvucovich\desktop\test_out.csv' 
&lt;BR /&gt;However the file is written to the path set as the default for that context variable, not the directory above. I'm quite confused because it appears that the context variable (employer_id) has been updated according to the log, but is not actually passing the value. 
&lt;BR /&gt;I am running Windows 7. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Michael</description>
      <pubDate>Sat, 16 Nov 2024 13:40:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/new-user-tcontextload-not-updating-context-variable/m-p/2364829#M128526</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: new user - tcontextload not updating context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/new-user-tcontextload-not-updating-context-variable/m-p/2364830#M128527</link>
      <description>Hello Michael
&lt;BR /&gt;Can you upload some screenshots of your job?
&lt;BR /&gt;You should load the value before other transcation, eg:
&lt;BR /&gt;tFileInputDelimited_1---tContextLoad
&lt;BR /&gt; |
&lt;BR /&gt;onsubjobok
&lt;BR /&gt; |
&lt;BR /&gt;tFileInputDelimited_2----tFileOutputDelimited
&lt;BR /&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Fri, 20 Nov 2009 03:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/new-user-tcontextload-not-updating-context-variable/m-p/2364830#M128527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-20T03:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: new user - tcontextload not updating context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/new-user-tcontextload-not-updating-context-variable/m-p/2364831#M128528</link>
      <description>Sure, see below. Thanks for the reply.
&lt;BR /&gt;This is just a test job I am using to understand the functionality. The default context remains active even though the log pane says its been updated.
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Michael</description>
      <pubDate>Mon, 23 Nov 2009 17:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/new-user-tcontextload-not-updating-context-variable/m-p/2364831#M128528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-23T17:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: new user - tcontextload not updating context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/new-user-tcontextload-not-updating-context-variable/m-p/2364832#M128529</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;The default context remains active even though the log pane says its been updated.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;The default value in context tab will never changed unless you change it manually, the value of context is changed at the runtime, if you print the context value on tPerlRow, you will see it output the new vlaue. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Tue, 24 Nov 2009 06:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/new-user-tcontextload-not-updating-context-variable/m-p/2364832#M128529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-24T06:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: new user - tcontextload not updating context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/new-user-tcontextload-not-updating-context-variable/m-p/2364833#M128530</link>
      <description>Thanks--
&lt;BR /&gt;
&lt;BR /&gt;I'm confused--if tcontextload is saying that the context has been updated to reflect a new value (i use the print option), why would that value not be actually used in the toutputdeliminated node? I'm not trying to change the default value itself, I'm trying to use a different value in the job itself, dynamically set by the tcontextload node.
&lt;BR /&gt;Could it be the case that context variables updated in the job do not apply to toutputdeliminated nodes?
&lt;BR /&gt;The screenshots below are out of order (couldn't figure that out), but show:
&lt;BR /&gt;the job execution--you can see that the default context contains a filepath that is different from the one updated by context load (in the run window).
&lt;BR /&gt;the configuration of the toutputdeliminated node
&lt;BR /&gt;the resulting file written to the desktop (which is not the name of the file in the updated context).</description>
      <pubDate>Tue, 24 Nov 2009 18:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/new-user-tcontextload-not-updating-context-variable/m-p/2364833#M128530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-24T18:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: new user - tcontextload not updating context variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/new-user-tcontextload-not-updating-context-variable/m-p/2364834#M128531</link>
      <description>Hello 
&lt;BR /&gt;As I said before, you should load the value before other transcation, eg: 
&lt;BR /&gt;tFileInputDelimited_1---tContextLoad 
&lt;BR /&gt; | 
&lt;BR /&gt;onsubjobok 
&lt;BR /&gt; | 
&lt;BR /&gt;tFileInputDelimited_2----tFileOutputDelimited 
&lt;BR /&gt;why you still get the default value in your job? In the generated code, the file name is defined with default value before tFileIndelimited begin to works. You can read the documentaiton https://help.talend.com/reader/QDC7DnW3S_chYXXornFuGw/3QRqVgh0vXKx3BPeUidHZw to know the generated code model. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 25 Nov 2009 03:16:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/new-user-tcontextload-not-updating-context-variable/m-p/2364834#M128531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-25T03:16:20Z</dc:date>
    </item>
  </channel>
</rss>

