<?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: Replace a String in Custom Connect To Statement in qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-a-String-in-Custom-Connect-To-Statement-in-qlikview/m-p/1182857#M1237058</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, found out: make sure to have no word wrap or no other special characters in your connect string. everything needs to be in one lineok, found out: make sure to have no word wrap or no other special characters in your connect string. everything needs to be in one line&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Oct 2017 11:13:03 GMT</pubDate>
    <dc:creator>ni_avoss</dc:creator>
    <dc:date>2017-10-11T11:13:03Z</dc:date>
    <item>
      <title>Replace a String in Custom Connect To Statement in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-a-String-in-Custom-Connect-To-Statement-in-qlikview/m-p/1182854#M1237050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a REST Connector in Qlikview and i need to pass a variable to the CUSTOM CONNECT TO Statement when connecting to a Web Service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CUSTOM CONNECT TO "Provider=QVRestConnector.exe;url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://test.example.com?auth=2334342assa13" rel="nofollow" target="_blank"&gt;http://test.example.com?auth=2334342assa13&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, instead of the auth token directly getting passed, i need to provide it at the RunTime. I tried the below but its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vToken="a3122423421f";&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Provider=QVRestConnector.exe;url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://test.example.com?auth=$(vToken" rel="nofollow" target="_blank"&gt;http://test.example.com?auth=$(vToken&lt;/A&gt;&lt;SPAN&gt;)"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-a-String-in-Custom-Connect-To-Statement-in-qlikview/m-p/1182854#M1237050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Replace a String in Custom Connect To Statement in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-a-String-in-Custom-Connect-To-Statement-in-qlikview/m-p/1182855#M1237053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should work. You may end up having conflicts with the (many) quotes enclosing the different parts. Does it work if you replace the outer double quotes with square brackets? Like in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LET vToken = '&lt;SPAN style="color: #3d3d3d; font-size: 13px;"&gt;a3122423421f&lt;/SPAN&gt;'; // Use single quotes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;CUSTOM CONNECT TO [Provider=QVRestConnector.exe;url="blablabla"...];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 16:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-a-String-in-Custom-Connect-To-Statement-in-qlikview/m-p/1182855#M1237053</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-09-27T16:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Replace a String in Custom Connect To Statement in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-a-String-in-Custom-Connect-To-Statement-in-qlikview/m-p/1182856#M1237055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so this really is an issue, also for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vAPIKey = 'XYZ';&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; url=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://data.mixpanel.com/api/2.0/export/?;" rel="nofollow" target="_blank"&gt;https://data.mixpanel.com/api/2.0/export/?;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; timeout=300;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; method=GET;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; autoDetectResponseType=true;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; keyGenerationStrategy=0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; useWindowsAuthentication=false;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; useCertificate=No;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; certificateStoreLocation=CurrentUser;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; certificateStoreName=My;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryParameters=api_key%2$(vAPIKey)%1expire%2$(vExpire)%1from_date%2$(vFromDate)%1to_date%2$(vToDate)%1sig%2$(vSig)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this doesnt work but if I paste the key directly into the Connectionstring it works. But I need variables for dynamic requests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems like variables do not get proper resolved in the connection string. Anyone an idea why ? this only seems to affect the REST connector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is not any query parameter but a query header a possible workaround I found is using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM JSON (wrap on) "root" PK "__KEY_root"&lt;/P&gt;&lt;P&gt;WITH CONNECTION ( &lt;/P&gt;&lt;P&gt;&amp;nbsp; HTTPHEADER "Authorization" "Bearer $(vAccessToken)" &lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So adding the header to the JSON load instead of the Connectionstring but this seems to only work with complex request headers and doesn't work with pagination so it is very limited&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 15:55:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-a-String-in-Custom-Connect-To-Statement-in-qlikview/m-p/1182856#M1237055</guid>
      <dc:creator>ni_avoss</dc:creator>
      <dc:date>2017-10-06T15:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Replace a String in Custom Connect To Statement in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-a-String-in-Custom-Connect-To-Statement-in-qlikview/m-p/1182857#M1237058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, found out: make sure to have no word wrap or no other special characters in your connect string. everything needs to be in one lineok, found out: make sure to have no word wrap or no other special characters in your connect string. everything needs to be in one line&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Oct 2017 11:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-a-String-in-Custom-Connect-To-Statement-in-qlikview/m-p/1182857#M1237058</guid>
      <dc:creator>ni_avoss</dc:creator>
      <dc:date>2017-10-11T11:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Replace a String in Custom Connect To Statement in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-a-String-in-Custom-Connect-To-Statement-in-qlikview/m-p/1588210#M1237059</link>
      <description>&lt;P&gt;Hi ! Can you share the final script of your connector? Did you resolve the dynamic token and pagination from JSON? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 13:38:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-a-String-in-Custom-Connect-To-Statement-in-qlikview/m-p/1588210#M1237059</guid>
      <dc:creator>1315gonza</dc:creator>
      <dc:date>2019-06-04T13:38:00Z</dc:date>
    </item>
  </channel>
</rss>

