<?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: output row value in tRest URL in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290296#M63591</link>
    <description>&lt;P&gt;It does return the correct ID&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-10-11_1634.png" style="width: 893px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrML.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132753i8F70C8A35E169440/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrML.png" alt="0683p000009LrML.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Oct 2017 14:36:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-11T14:36:51Z</dc:date>
    <item>
      <title>output row value in tRest URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290292#M63587</link>
      <description>&lt;P&gt;My first REST call returns ID that I need to use in second REST call URL (GET request)&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-10-11_1308.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrEJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134085iDDC7615D9F2F7754/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrEJ.png" alt="0683p000009LrEJ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I thought in URL I can do something like:&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;context.host + row2.id&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;or&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;context.host&amp;nbsp;+ globalMap.get("row2.id");&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;but I'm getting "row2 cannot be resolved to a variable" error.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How do I reference this "id" in tRest and other components?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;Dima&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 11:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290292#M63587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T11:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: output row value in tRest URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290293#M63588</link>
      <description>&lt;P&gt;Hi Dima,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just add a tFlowToIterate immediately before your map, and you'll be able to reference row2.id.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 11:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290293#M63588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T11:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: output row value in tRest URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290294#M63589</link>
      <description>Thanks, Chris. That helps iterate tRest but I get 'null' for my ID</description>
      <pubDate>Wed, 11 Oct 2017 13:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290294#M63589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T13:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: output row value in tRest URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290295#M63590</link>
      <description>&lt;P&gt;Can you either use debug or drop a tLog in there to ensure you do actually have data in the field?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 13:18:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290295#M63590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T13:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: output row value in tRest URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290296#M63591</link>
      <description>&lt;P&gt;It does return the correct ID&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-10-11_1634.png" style="width: 893px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrML.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132753i8F70C8A35E169440/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrML.png" alt="0683p000009LrML.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 14:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290296#M63591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T14:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: output row value in tRest URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290297#M63592</link>
      <description>&lt;P&gt;Can you&amp;nbsp;show&amp;nbsp;the entire job with the tFlowToIterate in place? Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 14:50:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290297#M63592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T14:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: output row value in tRest URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290298#M63593</link>
      <description>Replace tLogRow_3 with tSetGlobVar and capture the id in a variable&lt;BR /&gt;Example: your_variable_name=row2.id&lt;BR /&gt;&lt;BR /&gt;Then You can reffer the id in next call using globalMap.get('your_variable_name')</description>
      <pubDate>Wed, 11 Oct 2017 14:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290298#M63593</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T14:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: output row value in tRest URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290299#M63594</link>
      <description>&lt;P&gt;That's it! Thanks a lot. I guess I can only reference "row2.id" in tMap but for components like tRest I need to declare a variable&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 15:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290299#M63594</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T15:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: output row value in tRest URL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290300#M63595</link>
      <description>If you want your job to run multiple restGET1+restGET2 then ,
&lt;BR /&gt;You should propogate the rowX.id to a t FlowToIterate &amp;amp; then to restGeT2, as suggested by 
&lt;A href="https://community.qlik.com/s/profile/0053p000007LMPMAA4"&gt;@ciw1973&lt;/A&gt;</description>
      <pubDate>Wed, 11 Oct 2017 15:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/output-row-value-in-tRest-URL/m-p/2290300#M63595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-11T15:46:18Z</dc:date>
    </item>
  </channel>
</rss>

