<?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 [resolved] tRest Talend with dynamic URL and paramters from DB in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRest-Talend-with-dynamic-URL-and-paramters-from-DB/m-p/2245312#M31197</link>
    <description>I'm trying to use Talend to get some data from a REST web service by a keyword. After this I will store this data on DB. At this point everything works fine, but just for a simple keyword that I used for test in the URL. 
&lt;BR /&gt;Now I want to use many keywords from DB. I am trying to link tPosgresqlInput componenet to the tRest component and to see how to pass DB rows value in the URL, but its seems that tREST does not accept things like this. 
&lt;BR /&gt;This is waht I did until this time : 
&lt;BR /&gt;tPosgresqlInput xxxxxx tREST ---&amp;gt; tExtractJSONFields ---&amp;gt; tMap ---&amp;gt; tPosgresqlOutput 
&lt;BR /&gt;I hope someone helps me to get out from this before the new year. 
&lt;BR /&gt;Thanks for describing each step because I am too beginner . 
&lt;BR /&gt; 
&lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;)</description>
    <pubDate>Wed, 31 Dec 2014 16:35:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-12-31T16:35:19Z</dc:date>
    <item>
      <title>[resolved] tRest Talend with dynamic URL and paramters from DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRest-Talend-with-dynamic-URL-and-paramters-from-DB/m-p/2245312#M31197</link>
      <description>I'm trying to use Talend to get some data from a REST web service by a keyword. After this I will store this data on DB. At this point everything works fine, but just for a simple keyword that I used for test in the URL. 
&lt;BR /&gt;Now I want to use many keywords from DB. I am trying to link tPosgresqlInput componenet to the tRest component and to see how to pass DB rows value in the URL, but its seems that tREST does not accept things like this. 
&lt;BR /&gt;This is waht I did until this time : 
&lt;BR /&gt;tPosgresqlInput xxxxxx tREST ---&amp;gt; tExtractJSONFields ---&amp;gt; tMap ---&amp;gt; tPosgresqlOutput 
&lt;BR /&gt;I hope someone helps me to get out from this before the new year. 
&lt;BR /&gt;Thanks for describing each step because I am too beginner . 
&lt;BR /&gt; 
&lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;)</description>
      <pubDate>Wed, 31 Dec 2014 16:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRest-Talend-with-dynamic-URL-and-paramters-from-DB/m-p/2245312#M31197</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-31T16:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tRest Talend with dynamic URL and paramters from DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tRest-Talend-with-dynamic-URL-and-paramters-from-DB/m-p/2245313#M31198</link>
      <description>Hi
&lt;BR /&gt;You need to use a tFlowToIterate component to iterate each row, so that you are able to access the input data extracted from DB and set a dynamic URL. For example:
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;tPosgresqlInput -main(row1)--tFlowToITerate--iterate--&amp;gt;tREST ---&amp;gt; tExtractJSONFields ---&amp;gt; tMap ---&amp;gt; tPosgresqlOutput&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;on tRest, you can set a dynamic url like:&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;PRE&gt;"http://localhost:8088/otherpath/"+(String)globalMap.get("row1.columnName")&lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;Shong&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Fri, 02 Jan 2015 04:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tRest-Talend-with-dynamic-URL-and-paramters-from-DB/m-p/2245313#M31198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-02T04:29:33Z</dc:date>
    </item>
  </channel>
</rss>

