<?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] How to use the Dynamic Settings for tHDFS components? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346498#M113891</link>
    <description>Hi Matthew&amp;nbsp;
&lt;BR /&gt;The dynamic settings tab don't support context variables.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
    <pubDate>Mon, 03 Nov 2014 09:57:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-03T09:57:13Z</dc:date>
    <item>
      <title>[resolved] How to use the Dynamic Settings for tHDFS components?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346497#M113890</link>
      <description>I opened the dynamic settings and clicked the green plus sign. This gives me: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBEk.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154377iA3AF1EB4611F4DBE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBEk.png" alt="0683p000009MBEk.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;I have tried to fill the "Code" box with the following: 
&lt;BR /&gt;(context.is_test ? "tHDFSConnection_1" : "tHDFSConnection_2") 
&lt;BR /&gt;(context.is_test ? tHDFSConnection_1 : tHDFSConnection_2) 
&lt;BR /&gt;context.hdfs_connection 
&lt;BR /&gt;(I tried making context.hdfs_connection a string with the value of "tHDFSConnection_2") 
&lt;BR /&gt;None of these worked, as when I clicked on Basic Settings and then back to Dynamic Settings, the value was reverted to tHDFSConnection_1. 
&lt;BR /&gt;How may I get this to work? 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Matthew</description>
      <pubDate>Sat, 16 Nov 2024 11:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346497#M113890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to use the Dynamic Settings for tHDFS components?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346498#M113891</link>
      <description>Hi Matthew&amp;nbsp;
&lt;BR /&gt;The dynamic settings tab don't support context variables.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 03 Nov 2014 09:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346498#M113891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-03T09:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to use the Dynamic Settings for tHDFS components?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346499#M113892</link>
      <description>I am facing the same issue under tMySQLInput&amp;nbsp;and the settings revert automatically.&amp;nbsp;&lt;BR /&gt;While you are on the Dynamic Settings tab the Code works fine. For Example : This works and picks the connection from Global Map.&lt;BR /&gt;" + globalMap.get("conn2") + "&lt;BR /&gt;Associated Java Code also seems fine.&lt;BR /&gt;java.sql.Connection conn_tMysqlInput_1 = null;&lt;BR /&gt;conn_tMysqlInput_1 = (java.sql.Connection) globalMap.get("conn_" + globalMap.get("conn2") + "");&lt;BR /&gt;But as soon as you switch Tab, the value in dynamic tab reverts to&amp;nbsp;&lt;B&gt;tMysqlConnection_1 &lt;/B&gt;and also the java code.</description>
      <pubDate>Mon, 05 Jan 2015 04:21:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346499#M113892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-05T04:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to use the Dynamic Settings for tHDFS components?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346500#M113893</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;I am facing the same issue under tMySQLInput&amp;nbsp;and the settings revert automatically.&amp;nbsp;&lt;BR /&gt;While you are on the Dynamic Settings tab the Code works fine. For Example : This works and picks the connection from Global Map.&lt;BR /&gt;" + globalMap.get("conn2") + "&lt;BR /&gt;Associated Java Code also seems fine.&lt;BR /&gt;java.sql.Connection conn_tMysqlInput_1 = null;&lt;BR /&gt;conn_tMysqlInput_1 = (java.sql.Connection) globalMap.get("conn_" + globalMap.get("conn2") + "");&lt;BR /&gt;But as soon as you switch Tab, the value in dynamic tab reverts to&amp;nbsp;&lt;B&gt;tMysqlConnection_1 &lt;/B&gt;and also the java code.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hi Shong, 
&lt;BR /&gt;I have a similar requirement as chitwan. 
&lt;BR /&gt;I have a job that I wish to be able to use two different Oracle Databases depending on the context variable I pass to it. One of the DBs uses the Oracle Service Name, whereas the other uses a Oracle SID: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAv6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129746i0F3A325CA85B594E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAv6.png" alt="0683p000009MAv6.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;I would need to have two different tOracleConnections in a single job to do this. 
&lt;BR /&gt;How would I go about dynamically assigning my tOracleInput/Outputs to use a particular tOracleConnection based on a context variable? 
&lt;BR /&gt;Thanks and best regards, 
&lt;BR /&gt;Matthew</description>
      <pubDate>Mon, 05 Jan 2015 11:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346500#M113893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-05T11:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to use the Dynamic Settings for tHDFS components?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346501#M113894</link>
      <description>This is exactly as explained in&amp;nbsp;
&lt;BR /&gt;
&lt;FONT color="#255b97"&gt;&lt;FONT size="4"&gt;&lt;FONT face="Rokkitt"&gt;Scenario 3: Reading data from MySQL databases through context-based dynamic connections&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT face="Arial, Helvetica, FreeSans, sans-serif"&gt;help.talend.com/display/TalendComponentsReferenceGuide54EN/tMysqlInput&lt;/FONT&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT face="Arial, Helvetica, FreeSans, sans-serif"&gt;And as mentioned here, that this should not only allow context variable, it should allow any code.&lt;/FONT&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT face="Arial, Helvetica, FreeSans, sans-serif"&gt;help.talend.com/display/TalendOpenStudioforBigDataUserGuide55EN/3.2.6+How+to+define+component+properties&lt;/FONT&gt;
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;As code, you can input a context variable or a piece of Java code.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 05 Jan 2015 17:11:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346501#M113894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-05T17:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to use the Dynamic Settings for tHDFS components?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346502#M113895</link>
      <description>But not working the way its explained, or we are missing something.</description>
      <pubDate>Mon, 05 Jan 2015 17:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346502#M113895</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-05T17:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to use the Dynamic Settings for tHDFS components?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346503#M113896</link>
      <description>Good News.&amp;nbsp;&lt;BR /&gt;Its working as expected in Version: 5.6.1&lt;BR /&gt;Build id: V5.6.1_20141207_1530</description>
      <pubDate>Mon, 05 Jan 2015 17:38:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346503#M113896</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-05T17:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to use the Dynamic Settings for tHDFS components?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346504#M113897</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Good News.&amp;nbsp;&lt;BR /&gt;Its working as expected in Version: 5.6.1&lt;BR /&gt;Build id: V5.6.1_20141207_1530&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Awesome. Thanks for the heads up Chitwan.</description>
      <pubDate>Tue, 06 Jan 2015 04:23:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-use-the-Dynamic-Settings-for-tHDFS-components/m-p/2346504#M113897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-06T04:23:57Z</dc:date>
    </item>
  </channel>
</rss>

