<?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: How to pass multiple values in tSystem component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347055#M114375</link>
    <description>&lt;P&gt;&lt;SPAN&gt;"cmd /c start chrome " + URLEncoder.encode("http://localhost:8080/TestDataUpdate?tablename=temp_staging_table&amp;amp;pk=empid", "UTF-8")&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2017 12:30:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-26T12:30:37Z</dc:date>
    <item>
      <title>How to pass multiple values in tSystem component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347050#M114370</link>
      <description>&lt;P&gt;I am trying to pass 2 querystring parameters in my Job using tSystem component to launch a JSP page. The page gets launched properly but always i am getting the &lt;STRONG&gt;second parameter as null.&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;Can you help me in that? See in my screenshot below, i am passing the value as:&lt;/P&gt; 
&lt;P&gt;"cmd /c start chrome http://localhost:8080/TestDataUpdate?tablename=temp_staging_table&amp;amp;pk=empid"&lt;/P&gt; 
&lt;P&gt;This gives first parameter as correct, but second parameter is null.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tablename.jpg" style="width: 900px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lver.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151055iE6023E4BBAE6D2AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lver.jpg" alt="0683p000009Lver.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tablename2.jpg" style="width: 699px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvIU.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146742i989DDC9D2CA2742D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvIU.jpg" alt="0683p000009LvIU.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 13:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347050#M114370</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-24T13:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass multiple values in tSystem component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347051#M114371</link>
      <description>&lt;P&gt;Encode your url. &amp;nbsp;It is possible that the &amp;amp; is being interpreted differently in a java script. &amp;nbsp;Look at URL Encoding when you pass parameters.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 20:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347051#M114371</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-24T20:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass multiple values in tSystem component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347052#M114372</link>
      <description>&lt;P&gt;Ok. But I am not able to understand how to use &amp;nbsp;encodeURI&amp;nbsp;&lt;SPAN&gt;in our example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think we need to do something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var&amp;nbsp;uri =&amp;nbsp;"my test.asp?name=ståle&amp;amp;car=saab";&lt;BR /&gt;var&amp;nbsp;res = encodeURI(uri);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How to do it in our case i.e. what would command line look like?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 09:42:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347052#M114372</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-25T09:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass multiple values in tSystem component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347053#M114373</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.qlik.com/s/profile/0053p000007LM32AAG"&gt;@ppp_rrr&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;These are simple developer questions. &amp;nbsp;It takes less time to google it and find the answer&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/10786042/java-url-encoding-of-query-string-parameters" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/10786042/java-url-encoding-of-query-string-parameters&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 14:19:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347053#M114373</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-25T14:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass multiple values in tSystem component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347054#M114374</link>
      <description>&lt;P&gt;Ya sure&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005700000036lIsAAI"&gt;@iburtally&lt;/A&gt;, it was easy to find on net about encoding, but what I wanted that how to pass it in our URL. i am trying to pass value as:&lt;/P&gt; 
&lt;P&gt;"cmd /c start chrome " + "URLEncoder.encode(http://localhost:8080/TestDataUpdate?tablename=temp_staging_table&amp;amp;pk=empid, \"UTF-8"\ +")"; "&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But not getting success, there are errors in it..so I am only seeking help on Syntax..&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 06:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347054#M114374</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-26T06:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass multiple values in tSystem component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347055#M114375</link>
      <description>&lt;P&gt;&lt;SPAN&gt;"cmd /c start chrome " + URLEncoder.encode("http://localhost:8080/TestDataUpdate?tablename=temp_staging_table&amp;amp;pk=empid", "UTF-8")&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 12:30:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347055#M114375</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-26T12:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass multiple values in tSystem component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347056#M114376</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt; 
&lt;P&gt;But now I am getting the error that URL encoder cannot be resolved!&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="encode.jpg" style="width: 704px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LwBC.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133047iB9F6C5E4E9F56D5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LwBC.jpg" alt="0683p000009LwBC.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 12:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347056#M114376</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-26T12:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass multiple values in tSystem component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347057#M114377</link>
      <description>&lt;P&gt;Prefix the URLEncoder class with its package name&lt;/P&gt;&lt;P&gt;java.net.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 14:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347057#M114377</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-26T14:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass multiple values in tSystem component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347058#M114378</link>
      <description>&lt;P&gt;This resolves my compiler error and my final string is now:&lt;/P&gt; 
&lt;P&gt;"cmd /c start chrome " + java.net.URLEncoder.encode("http://localhost:8080/TestDataUpdate?tablename=temp_staging_table&amp;amp;pk=empid", "UTF-8")&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;However, on executing my Job, this only launches 'chrome' and the application hosted doesn't gets launched.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 05:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pass-multiple-values-in-tSystem-component/m-p/2347058#M114378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-27T05:51:47Z</dc:date>
    </item>
  </channel>
</rss>

