<?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: tRestClient URL loop in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-URL-loop/m-p/2413873#M140091</link>
    <description>&lt;P&gt;Context.url is a context variable, you need to define a context variable called url in the &lt;STRONG&gt;Context&lt;/STRONG&gt; viewer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Feb 2024 09:34:50 GMT</pubDate>
    <dc:creator>Shicong_Hong</dc:creator>
    <dc:date>2024-02-02T09:34:50Z</dc:date>
    <item>
      <title>tRestClient URL loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-URL-loop/m-p/2413820#M140087</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;
&lt;P&gt;Need help in looping the URL added to tRestClient.&lt;/P&gt;
&lt;P&gt;sample URL:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;/api/v3/projects/5582/test-runs/723678/test-logs?page=1&amp;amp;pageSize=1&lt;/PRE&gt;
&lt;P&gt;Need to loop through page 1 to n.&lt;/P&gt;
&lt;P&gt;Note - not able to loop via tLoop as it is not allowing as an input to tRestClient&lt;/P&gt;
&lt;P&gt;Rest flow is working fine, just need help in looping the URL.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 07:12:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-URL-loop/m-p/2413820#M140087</guid>
      <dc:creator>Jayesh47</dc:creator>
      <dc:date>2024-02-02T07:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient URL loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-URL-loop/m-p/2413833#M140088</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;You can add a tJava component between tLoop and tRestClient, eg:&lt;/P&gt;
&lt;P&gt;tLoop--iterate--tJava--oncomponentok--tRestClient&lt;/P&gt;
&lt;P&gt;On tJava, you can build the URL with current value and assign it to a context variable for used later on tRestClient.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;context.URL="/api/v3/projects/5582/test-runs/723678/test-logs?page="+((Integer)globalMap.get("tLoop_1_CURRENT_VALUE"))+"&amp;amp;pageSize=1";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 07:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-URL-loop/m-p/2413833#M140088</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-02-02T07:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient URL loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-URL-loop/m-p/2413838#M140089</link>
      <description>&lt;P&gt;i have passed context.url, but it is not picking in the URL field of trest, throwing error stating url cannot be resolved. i also have a bearer token to pass which i have added to header of trest.&lt;/P&gt;
&lt;P&gt;can you please share some tutorial, not sure why they closed talend community and integrated it here its quite difficult o find any exiting questions&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 08:12:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-URL-loop/m-p/2413838#M140089</guid>
      <dc:creator>Jayesh47</dc:creator>
      <dc:date>2024-02-02T08:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: tRestClient URL loop</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tRestClient-URL-loop/m-p/2413873#M140091</link>
      <description>&lt;P&gt;Context.url is a context variable, you need to define a context variable called url in the &lt;STRONG&gt;Context&lt;/STRONG&gt; viewer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 09:34:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tRestClient-URL-loop/m-p/2413873#M140091</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-02-02T09:34:50Z</dc:date>
    </item>
  </channel>
</rss>

