<?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: [resolved] Question about implicit context load. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347903#M115100</link>
    <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi Shong,&lt;BR /&gt;I am all set on this. &amp;nbsp;I neglected to add the implicit context variables as context variables to my job. &amp;nbsp;Once that was done, everything worked as wanted. &amp;nbsp;&lt;BR /&gt;Thank you for your help on this.&lt;BR /&gt;Tom&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Hi,
&lt;BR /&gt;I am also getting the same issue but unable to see option to "select or neglect to add the implicit context variables as context variables to my job".
&lt;BR /&gt;Can you please help me to find out this option?
&lt;BR /&gt;Thank you in anticipation.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Manish</description>
    <pubDate>Thu, 30 Apr 2015 07:45:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-30T07:45:20Z</dc:date>
    <item>
      <title>[resolved] Question about implicit context load.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347896#M115093</link>
      <description>Hi, 
&lt;BR /&gt;I checked the documentation as well as the forum and have not found what I am looking for so I will try my luck here. 
&lt;BR /&gt;I am trying to load values from a .txt file into a job using a project's implicit context load feature and am encountering errors when the job runs due to the job not 
&lt;BR /&gt;being able to resolve the variable set-up in the. I am thinking I did not set-up something up correctly and am not sure what. Below are some details. 
&lt;BR /&gt;-&amp;gt; the .txt file's values are as follows... host;devserver host is the context variable, ; is the field seperator, and devserver is the host name. I have the ; value 
&lt;BR /&gt; defined as the field seperator in the 'implicit context load' tab of the Project Settings section. 
&lt;BR /&gt;-&amp;gt; the value $_context{host} is used for the Host value on a tMysqlConnection component. For beginners, I am not sure if that is the correct way to reference an 
&lt;BR /&gt; implicit context field. When I run the job, a compilation error gets thrown due to the job not being able to resolve the context variable ('host' in my case). 
&lt;BR /&gt;-&amp;gt; Curious enough is that the implicit context value is getting parsed when the job runs. I can tell this due to the following message getting displayed in the console 
&lt;BR /&gt; when the job runs. Implicit_Context_Context set key "host" with value "devserver". The following message also gets displayed on the console when the job is 
&lt;BR /&gt; run. Warning: Parameter "host" is a new parameter of Implicit_Context_Context 
&lt;BR /&gt;-&amp;gt; If this helps, below are some errors that get thrown when the job runs - I think this is due to the way I have the context variable set up (as mentioned above). 
&lt;BR /&gt; Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
&lt;BR /&gt; Syntax error on token(s), misplaced construct(s) 
&lt;BR /&gt; Syntax error on token(s), misplaced construct(s) 
&lt;BR /&gt; The operator + is undefined for the argument type(s) String 
&lt;BR /&gt;-&amp;gt; Below is a snippet of the code that contains the unresolved variable. 
&lt;BR /&gt; String url_tMysqlConnection_1 = "jdbc:mysql://" + $_context{host} + ":" + "3310" + "/" + "datawarehouse" + "?" + proprtties_tMysqlConnection_1; 
&lt;BR /&gt; 
&lt;BR /&gt;Any advice will be greatly appreciated. 
&lt;BR /&gt;Tom</description>
      <pubDate>Sat, 16 Nov 2024 12:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347896#M115093</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T12:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Question about implicit context load.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347897#M115094</link>
      <description>Hi Tom
&lt;BR /&gt;If host is the variable name, you can use the context variable like this:
&lt;BR /&gt;context.host
&lt;BR /&gt;Good luck!
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 20 Jul 2011 03:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347897#M115094</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-07-20T03:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Question about implicit context load.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347898#M115095</link>
      <description>Hi Shong, 
&lt;BR /&gt;Thank you for your response. As with my initial message on this issue, please bear with me. 
&lt;BR /&gt;For an implicit context variable that gets loaded from a file (.txt in this case), is there something in particular that needs to be done to make it visible to a job? The reason 
&lt;BR /&gt;I ask is that the variable (host in this case) is not visible as a context variable to the job. I did the control, space key combination after 'context.' and the implicit variable 
&lt;BR /&gt;from the .txt file is not visible. I am thinking I am missing a step that makes the variable visible to the job. 
&lt;BR /&gt;I looked at the documentation (Talend Integration Suite 4.x) and it seems like the section that pertains to implicit context loads it is slightly out of date from the version of 
&lt;BR /&gt;the Talend Integration Suite that I am using which is version 4.1.2. In particular, is the reference to the 'Extra' tab for a job that allows for the use of implicit context load 
&lt;BR /&gt;variables. 
&lt;BR /&gt;More questions... Is the 'Extra' tab for a job in use in 4.1.2 and I am just not seeing it? If the Extra tab is not available in 4.1.2, how does a job make use of a variable 
&lt;BR /&gt;introduced to a project via the implicit context load option? 
&lt;BR /&gt;Thank you in advance and have a great day. 
&lt;BR /&gt;Tom</description>
      <pubDate>Wed, 20 Jul 2011 12:09:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347898#M115095</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-07-20T12:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Question about implicit context load.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347899#M115096</link>
      <description>Hi Shong,
&lt;BR /&gt;I am all set on this. I neglected to add the implicit context variables as context variables to my job. Once that was done, everything worked as wanted. 
&lt;BR /&gt;Thank you for your help on this.
&lt;BR /&gt;Tom</description>
      <pubDate>Wed, 20 Jul 2011 14:35:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347899#M115096</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-07-20T14:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Question about implicit context load.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347900#M115097</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi Shong,&lt;BR /&gt;I am all set on this. I neglected to add the implicit context variables as context variables to my job. Once that was done, everything worked as wanted. &lt;BR /&gt;Thank you for your help on this.&lt;BR /&gt;Tom&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Hi 
&lt;BR /&gt;Good news, thanks for your feedback!
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 21 Jul 2011 04:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347900#M115097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-07-21T04:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Question about implicit context load.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347901#M115098</link>
      <description>Hi Tom,&lt;BR /&gt;I need to implement the same one as your's.Could you please provide some details of implicit context load like configuration for implicit context load.If you could provide some reference to this alos fine.&lt;BR /&gt;Thanks,&lt;BR /&gt;Raakesh R</description>
      <pubDate>Wed, 07 Aug 2013 06:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347901#M115098</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-08-07T06:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Question about implicit context load.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347902#M115099</link>
      <description>Try the user guide or help.talend.com.</description>
      <pubDate>Thu, 08 Aug 2013 02:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347902#M115099</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2013-08-08T02:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Question about implicit context load.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347903#M115100</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi Shong,&lt;BR /&gt;I am all set on this. &amp;nbsp;I neglected to add the implicit context variables as context variables to my job. &amp;nbsp;Once that was done, everything worked as wanted. &amp;nbsp;&lt;BR /&gt;Thank you for your help on this.&lt;BR /&gt;Tom&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Hi,
&lt;BR /&gt;I am also getting the same issue but unable to see option to "select or neglect to add the implicit context variables as context variables to my job".
&lt;BR /&gt;Can you please help me to find out this option?
&lt;BR /&gt;Thank you in anticipation.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Manish</description>
      <pubDate>Thu, 30 Apr 2015 07:45:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347903#M115100</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-30T07:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Question about implicit context load.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347904#M115101</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi Shong,&lt;BR /&gt;I am all set on this. &amp;nbsp;I neglected to add the implicit context variables as context variables to my job. &amp;nbsp;Once that was done, everything worked as wanted. &amp;nbsp;&lt;BR /&gt;Thank you for your help on this.&lt;BR /&gt;Tom&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hi, 
&lt;BR /&gt;I am also getting the same issue but unable to see option to "select or neglect to add the implicit context variables as context variables to my job". 
&lt;BR /&gt;Can you please help me to find out this option? 
&lt;BR /&gt;Thank you in anticipation. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Manish 
&lt;BR /&gt;I got it. Seems I wasn't calling it correctly. 
&lt;BR /&gt;I used following and it worked: 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;I&gt;context.get("value1")&lt;/I&gt;</description>
      <pubDate>Thu, 30 Apr 2015 12:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Question-about-implicit-context-load/m-p/2347904#M115101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-30T12:02:02Z</dc:date>
    </item>
  </channel>
</rss>

