<?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 Dynamic host connection using global variables in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-host-connection-using-global-variables/m-p/2357692#M122907</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am working on a project and I thought of a design where user will give an input through &lt;STRONG&gt;tMsgBox&lt;/STRONG&gt; and that input should be stored in a global variable, &lt;U&gt;depending on the value in that global variable can we set or change the &lt;STRONG&gt;host&lt;/STRONG&gt; for&lt;STRONG&gt; FTP&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;SSH&lt;/STRONG&gt;&lt;/U&gt;?&amp;nbsp;&lt;BR /&gt;Advises are appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Abhishek&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2017 07:14:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-29T07:14:35Z</dc:date>
    <item>
      <title>Dynamic host connection using global variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-host-connection-using-global-variables/m-p/2357692#M122907</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am working on a project and I thought of a design where user will give an input through &lt;STRONG&gt;tMsgBox&lt;/STRONG&gt; and that input should be stored in a global variable, &lt;U&gt;depending on the value in that global variable can we set or change the &lt;STRONG&gt;host&lt;/STRONG&gt; for&lt;STRONG&gt; FTP&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;SSH&lt;/STRONG&gt;&lt;/U&gt;?&amp;nbsp;&lt;BR /&gt;Advises are appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Abhishek&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 07:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-host-connection-using-global-variables/m-p/2357692#M122907</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-29T07:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic host connection using global variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-host-connection-using-global-variables/m-p/2357693#M122908</link>
      <description>Hi,
&lt;BR /&gt;You can use retrieve the value entered by the user in the global variable tMsgBox_RESULT associated to the component:
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;((String)globalMap.get("tMsbBox_1_RESULT"))&lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;This variable can be used directly, or you can set a context variable from this variable if needed. For example:&lt;/FONT&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;PRE&gt;context.FtpServer = ((String)globalMap.get("tMsbBox_1_RESULT"));&lt;/PRE&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;Hope this helps.&lt;/FONT&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;Regards,&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;TRF&lt;/FONT&gt;</description>
      <pubDate>Wed, 29 Mar 2017 08:07:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-host-connection-using-global-variables/m-p/2357693#M122908</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-03-29T08:07:15Z</dc:date>
    </item>
  </channel>
</rss>

