<?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: passing value to trest in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304499#M76262</link>
    <description>&lt;P&gt;You talk about which solution ? Can you send screen shot of your test please with settings ? I'm pretty sure that my solution works, or I don't understand the purpose of your job ...&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2017 14:00:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-17T14:00:12Z</dc:date>
    <item>
      <title>passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304494#M76257</link>
      <description>&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an issue in my job.&lt;/P&gt;&lt;P&gt;I have loaded some reports from an API using tRest component.&lt;/P&gt;&lt;P&gt;while I am extracting that API ,I am getting some data like id,name and key column and value below it.&lt;/P&gt;&lt;P&gt;so I have done the job like tRest component(POST method) --&amp;gt; tExtractJSONFields ----&amp;gt; finally loaded it to tfileoutputexcel&lt;/P&gt;&lt;P&gt;so in this I am getting ouput like&lt;/P&gt;&lt;P&gt;id,name,key&lt;/P&gt;&lt;P&gt;1,janu,Mnv674=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so the key which I got will be expired in every 8 hours.&lt;/P&gt;&lt;P&gt;so I want the key to be parsed to another trestcomponent (POST method) automatically.&lt;/P&gt;&lt;P&gt;I have done the job like&lt;/P&gt;&lt;P&gt;tREST component (POST method) &amp;nbsp;--&amp;gt; &amp;nbsp;tExtractJSONFields&amp;nbsp; ----&amp;gt;&amp;nbsp;tfileoutputexcel --------------------- (on component ok) ------&amp;gt; tREST component -------&amp;gt; tExtractJSONFields ------------&amp;gt; tfileoutputjson&lt;/P&gt;&lt;P&gt;in the 2nd tREST component I will pass the key we are getting from the excel output into the http headers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want the key to be automatically loaded to the second job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could anyone of you please help in this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;harshi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:24:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304494#M76257</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304495#M76258</link>
      <description>&lt;P&gt;Hi Injarapu,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know if it's work, but you can try this.&lt;/P&gt;&lt;P&gt;After your tfileoutputexcel, you can use a &lt;STRONG&gt;tJavaFlex&lt;/STRONG&gt; and in the principal code, write : globalMap.put("KEY", tFileoutputExcelRow.key)&lt;/P&gt;&lt;P&gt;Then&amp;nbsp; :&amp;nbsp;&amp;nbsp; tJavaFlex --- Iterate --- tRest&lt;/P&gt;&lt;P&gt;And on your tRest, "&lt;A href="http://www.blabla.com/&amp;quot;+(String)globalMap.get(&amp;quot;KEY" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.blabla.com/"+(String)globalMap.get("KEY&lt;/A&gt;")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good Luck ,&lt;/P&gt;&lt;P&gt;SGV&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 10:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304495#M76258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-17T10:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304496#M76259</link>
      <description>Hi 
&lt;BR /&gt;Store the key to context variables for used on the second calling. eg:' 
&lt;BR /&gt;tREST component (POST method) --&amp;gt; tExtractJSONFields ----&amp;gt; tfileoutputexcel -----main--tjavaRow---------------- (on component ok) ------&amp;gt; tREST component -------&amp;gt; tExtractJSONFields ------------&amp;gt; tfileoutputjson 
&lt;BR /&gt; 
&lt;BR /&gt;on tjavarow: 
&lt;BR /&gt;context.key=input_row.key; 
&lt;BR /&gt; 
&lt;BR /&gt;on the second tRest, you can use this context variable. 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong 
&lt;BR /&gt; 
&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Aug 2017 11:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304496#M76259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-17T11:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304497#M76260</link>
      <description>&lt;P&gt;thank you but its not working sir&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 13:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304497#M76260</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-17T13:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304498#M76261</link>
      <description>thank you sir its working</description>
      <pubDate>Thu, 17 Aug 2017 13:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304498#M76261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-17T13:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304499#M76262</link>
      <description>&lt;P&gt;You talk about which solution ? Can you send screen shot of your test please with settings ? I'm pretty sure that my solution works, or I don't understand the purpose of your job ...&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 14:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304499#M76262</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-17T14:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304500#M76263</link>
      <description>sir,&lt;BR /&gt;&lt;BR /&gt;sorry the solution you gave is not working.&lt;BR /&gt;&lt;BR /&gt;context.key=input_row.key;&lt;BR /&gt;after passing it into tJavaRow then talend is throwing error as&lt;BR /&gt;key cannot be resolved or is not a field.&lt;BR /&gt;&lt;BR /&gt;could you please tell me any other way</description>
      <pubDate>Thu, 17 Aug 2017 14:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304500#M76263</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-17T14:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304501#M76264</link>
      <description>can anyone please help me in this</description>
      <pubDate>Fri, 18 Aug 2017 09:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304501#M76264</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-18T09:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304502#M76265</link>
      <description>&lt;P&gt;Where are you blocking ?&lt;/P&gt;&lt;P&gt;I thought that your problem was solved.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 13:19:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304502#M76265</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-18T13:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304503#M76266</link>
      <description>sir ,&lt;BR /&gt;&lt;BR /&gt;I want the output coming from tJavaflex or tjavarow and sending it to trest http header value.&lt;BR /&gt;&lt;BR /&gt;I am not able to pass the variable to another trest component.&lt;BR /&gt;&lt;BR /&gt;please help me in this</description>
      <pubDate>Fri, 18 Aug 2017 13:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304503#M76266</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-18T13:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304504#M76267</link>
      <description>&lt;P&gt;Please send a screenshot of Job and settings, and show us what element cause you trouble.&amp;nbsp;&lt;BR /&gt;I don't understand where is the problem exactly, i need a visual explication.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 13:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304504#M76267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-18T13:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304505#M76268</link>
      <description>sir,&lt;BR /&gt;&lt;BR /&gt;my job is&lt;BR /&gt;tREST----------&amp;gt;tExtractJSONFields-----------&amp;gt;tJavaRow-------------&amp;gt;on component ok-----------&amp;gt;tREST-------------&amp;gt;tExtractJSONFields--------------&amp;gt;tfileoutputjson&lt;BR /&gt;&lt;BR /&gt;so I have applied your logic in tJavaRow.&lt;BR /&gt;now this I have to pass this variable to second tREST component in http header value.&lt;BR /&gt;please look into this and give the solution&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Aug 2017 14:18:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304505#M76268</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-18T14:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304506#M76269</link>
      <description>&lt;P&gt;What did you write in your tJavaRow ?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 14:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304506#M76269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-18T14:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304507#M76270</link>
      <description>sorry ,&lt;BR /&gt;not tJavaRow.&lt;BR /&gt;In tJavaflex,&lt;BR /&gt;globalMap.put("token", row2.token);&lt;BR /&gt;&lt;BR /&gt;this I have written.&lt;BR /&gt;from this tJavaflex I have connected to tREST.&lt;BR /&gt;I want this value to be in http header value in tREST</description>
      <pubDate>Fri, 18 Aug 2017 14:44:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304507#M76270</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-18T14:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304508#M76271</link>
      <description>&lt;P&gt;in your http header value, you have to write : (String)globalMap.get("token")&lt;/P&gt;&lt;P&gt;If it doens't work as expected, show us the error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 14:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304508#M76271</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-18T14:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304509#M76272</link>
      <description>No sir. Its not working...</description>
      <pubDate>Mon, 21 Aug 2017 07:11:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304509#M76272</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-21T07:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: passing value to trest</title>
      <link>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304510#M76273</link>
      <description>hi sgv,&lt;BR /&gt;&lt;BR /&gt;thank you for your help.&lt;BR /&gt;I have passed globalMap.put("token", row2.token); in tJavaflex&lt;BR /&gt;----&amp;gt;main---&amp;gt;tFlowToIterate --&amp;gt; iterate---&amp;gt;tREST&lt;BR /&gt;In tREST I have written ((String)globalMap.get("row3.token")) in http header value (where I want this value I have posted)&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;harsitha</description>
      <pubDate>Mon, 21 Aug 2017 13:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/passing-value-to-trest/m-p/2304510#M76273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-21T13:32:22Z</dc:date>
    </item>
  </channel>
</rss>

