<?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: Is it possible to use a variable in a REST connection? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-use-a-variable-in-a-REST-connection/m-p/56065#M781649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try like this&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;CUSTOM CONNECT TO "Provider=QvRestConnector.exe;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;url="&amp;amp; &lt;/SPAN&gt;&lt;STRONG style="color: #000000; font-family: inherit; font-style: inherit;"&gt;"&lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(vURLDownload)"&lt;/SPAN&gt;&lt;STRONG style="color: #000000; font-family: inherit; font-style: inherit;"&gt; &amp;amp; "&lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;timeout=30;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;method=GET;........"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Apr 2018 19:20:02 GMT</pubDate>
    <dc:creator>sasiparupudi1</dc:creator>
    <dc:date>2018-04-06T19:20:02Z</dc:date>
    <item>
      <title>Is it possible to use a variable in a REST connection?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-use-a-variable-in-a-REST-connection/m-p/56062#M781644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Afternoon All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am new to all this and this is my first question so please bare with me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a REST connector to connect qlik view to my SmartSurvey account to retrieve the surveys that have been conducted via the use of API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I initially collect list of all the surveys that have been completed with uniqueIDs. Using the uniqueID i will be able to collect the responses to each survey,&amp;nbsp; As am sure you can tell the uniqueID is generated every time so for this reason i am using a peek statement to assign the latest survey uniqueID to a variable which i would like to use in the REST connection so that it will load that into my qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have used WITH Connection, but this doesnt work as well as mulitiple attempt of using it within the REST connection script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------&lt;/P&gt;&lt;P&gt;Current Script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;url =&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://api.smartsurvey.io/v1/surveys/335393/exports;" rel="nofollow" target="_blank"&gt;https://api.smartsurvey.io/v1/surveys/335393/exports;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vURLDownload:&amp;nbsp; &lt;A href="https://api.smartsurvey.io/v1/surveys/335393/exports/519048/download" title="https://api.smartsurvey.io/v1/surveys/335393/exports/519048/download" target="_blank"&gt;https://api.smartsurvey.io/v1/surveys/335393/exports/519048/download&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CUSTOM CONNECT TO "Provider=QvRestConnector.exe;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;url=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://api.smartsurvey.io/v1/surveys/335393/exports;" rel="nofollow" target="_blank"&gt;https://api.smartsurvey.io/v1/surveys/335393/exports;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;timeout=30;&lt;/P&gt;&lt;P&gt;method=GET;........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CUSTOM CONNECT TO "Provider=QvRestConnector.exe;&lt;/P&gt;&lt;P&gt;url=$(vURLDownload);&lt;/P&gt;&lt;P&gt;timeout=30;&lt;/P&gt;&lt;P&gt;method=GET;........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry i cant give the other script information as it includes the API keys etc however if there is any other information just let me know and i will attempt to provide. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stuck now and open to ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-use-a-variable-in-a-REST-connection/m-p/56062#M781644</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a variable in a REST connection?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-use-a-variable-in-a-REST-connection/m-p/56063#M781646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should work..try the variable in quotes&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;CUSTOM CONNECT TO "Provider=QvRestConnector.exe;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;url=&lt;STRONG&gt;'&lt;/STRONG&gt;$(vURLDownload)&lt;STRONG&gt;'&lt;/STRONG&gt;;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;timeout=30;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;method=GET;........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2018 20:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-use-a-variable-in-a-REST-connection/m-p/56063#M781646</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-04-04T20:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a variable in a REST connection?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-use-a-variable-in-a-REST-connection/m-p/56064#M781647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your suggestion but i have already tried this and i get the following error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/198541_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2018 08:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-use-a-variable-in-a-REST-connection/m-p/56064#M781647</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-05T08:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a variable in a REST connection?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-use-a-variable-in-a-REST-connection/m-p/56065#M781649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try like this&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;CUSTOM CONNECT TO "Provider=QvRestConnector.exe;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;url="&amp;amp; &lt;/SPAN&gt;&lt;STRONG style="color: #000000; font-family: inherit; font-style: inherit;"&gt;"&lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(vURLDownload)"&lt;/SPAN&gt;&lt;STRONG style="color: #000000; font-family: inherit; font-style: inherit;"&gt; &amp;amp; "&lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;timeout=30;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;method=GET;........"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 19:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-use-a-variable-in-a-REST-connection/m-p/56065#M781649</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-04-06T19:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a variable in a REST connection?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-it-possible-to-use-a-variable-in-a-REST-connection/m-p/56066#M781651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I played around, the following script has worked for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/198908_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 08:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-it-possible-to-use-a-variable-in-a-REST-connection/m-p/56066#M781651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-09T08:26:59Z</dc:date>
    </item>
  </channel>
</rss>

