<?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] Dynamic REST URL with appended variable in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-REST-URL-with-appended-variable/m-p/2203040#M4519</link>
    <description>My issue is with the URL path concerning the tREST component.
&lt;BR /&gt;I want to be able to append a variable to the URL path which changes each time.
&lt;BR /&gt;For example, I have a database with multiple rows and need to pass the id of the row as the last parameter in the url.
&lt;BR /&gt;something along these lines: "http://localhost:8080/People-api/Person/"+ (Integer)globalMap.get(\"person_id\")
&lt;BR /&gt;Is this possible?? Each record has a different person_id value so this URL needs to change with each call. Not sure how to resolve a value from a Java variable in the URL, nor if the escape character (\) would work properly there.
&lt;BR /&gt;
&lt;BR /&gt;Thanks</description>
    <pubDate>Tue, 03 Dec 2013 18:27:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-12-03T18:27:17Z</dc:date>
    <item>
      <title>[resolved] Dynamic REST URL with appended variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-REST-URL-with-appended-variable/m-p/2203040#M4519</link>
      <description>My issue is with the URL path concerning the tREST component.
&lt;BR /&gt;I want to be able to append a variable to the URL path which changes each time.
&lt;BR /&gt;For example, I have a database with multiple rows and need to pass the id of the row as the last parameter in the url.
&lt;BR /&gt;something along these lines: "http://localhost:8080/People-api/Person/"+ (Integer)globalMap.get(\"person_id\")
&lt;BR /&gt;Is this possible?? Each record has a different person_id value so this URL needs to change with each call. Not sure how to resolve a value from a Java variable in the URL, nor if the escape character (\) would work properly there.
&lt;BR /&gt;
&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 03 Dec 2013 18:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-REST-URL-with-appended-variable/m-p/2203040#M4519</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-03T18:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Dynamic REST URL with appended variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-REST-URL-with-appended-variable/m-p/2203041#M4520</link>
      <description>I was able to make it work, simply by doing: &lt;BR /&gt;"http://localhost:8080/People-api/Person/"+ ((Integer)globalMap.get("person_id"))   &lt;BR /&gt;Sometimes talend is very particular so its a lot of trial and error.</description>
      <pubDate>Tue, 03 Dec 2013 19:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Dynamic-REST-URL-with-appended-variable/m-p/2203041#M4520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-03T19:45:06Z</dc:date>
    </item>
  </channel>
</rss>

