<?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: Syntax to change URLs and Query Parameters using WITH CONNECTION in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Syntax-to-change-URLs-and-Query-Parameters-using-WITH-CONNECTION/m-p/1292616#M27282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note HEADER should be HTTPHEADER (at least in QSE 3.2 and above)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2017 12:43:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-24T12:43:09Z</dc:date>
    <item>
      <title>Syntax to change URLs and Query Parameters using WITH CONNECTION</title>
      <link>https://community.qlik.com/t5/App-Development/Syntax-to-change-URLs-and-Query-Parameters-using-WITH-CONNECTION/m-p/1292612#M27278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a column of URLs, in Excel: I want to load all of them.&lt;/P&gt;&lt;P&gt;And I may allow user to change URL query parameters via the same Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to create separate Qlik Sense REST Data connections for each.&lt;/P&gt;&lt;P&gt;Can I use the &lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/1.1/Load-REST-data/Select-statement-syntax-REST.htm"&gt;"WITH CONNECTION"&lt;/A&gt;? I'm sure I can.&lt;/P&gt;&lt;H3 style="font-size: 1.286em; margin-top: 20px; margin-bottom: 10px; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;WITH CONNECTION keyword&lt;/H3&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="font-size: 14px; margin: 10px 0; color: #0f0f0f; font-family: 'Open Sans', Arial, sans-serif;"&gt;The REST Connector supports the &lt;SPAN class="statement" style="font-weight: bold;"&gt;WITH CONNECTION&lt;/SPAN&gt; keyword, which can be used to override URLs, query parameters and query headers in a connection. The POST body can also be overridden when the POST method has been selected for the connection. &lt;SPAN class="statement" style="font-weight: bold;"&gt;WITH CONNECTION&lt;/SPAN&gt; &lt;SPAN style="text-decoration: underline;"&gt;allows you to alter some parts of a connection rather than create a separate connection.&lt;/SPAN&gt;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12px; background-color: #fafafa; font-family: arial, helvetica, sans-serif;"&gt;I can find two examples:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12px; background-color: #fafafa; font-family: arial, helvetica, sans-serif;"&gt;Modifying the URL:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12px; background-color: #fafafa; font-family: Consolas, Monaco, 'Andale Mono', monospace;"&gt;&lt;SPAN&gt; WITH CONNECTION(Url "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://rd-xxx-win8.rdfund.hypertek.com:1337/" rel="nofollow" target="_blank"&gt;http://rd-xxx-win8.rdfund.hypertek.com:1337&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12px; background-color: #fafafa; font-family: Consolas, Monaco, 'Andale Mono', monospace;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; background-color: #fafafa;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Modifying the Query parameters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; background-color: #fafafa;"&gt; WITH CONNECTION(QUERY "startAt" "$(startAt)");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; background-color: #fafafa;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12px; background-color: #fafafa; font-family: arial, helvetica, sans-serif;"&gt;But I can't see where this&lt;STRONG&gt; "WITH CONNECTION" syntax is described -- does anyone have a link? Like in &lt;A href="https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form"&gt;Backus-Naur form &lt;/A&gt;which Qlik help uses for other syntaxes.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; background-color: #fafafa;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 19:36:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Syntax-to-change-URLs-and-Query-Parameters-using-WITH-CONNECTION/m-p/1292612#M27278</guid>
      <dc:creator />
      <dc:date>2017-02-03T19:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax to change URLs and Query Parameters using WITH CONNECTION</title>
      <link>https://community.qlik.com/t5/App-Development/Syntax-to-change-URLs-and-Query-Parameters-using-WITH-CONNECTION/m-p/1292613#M27279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Hi Nathaniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the the correct syntax is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WITH CONNECTION (&lt;/P&gt;&lt;P&gt;URL "new URL" ,&lt;/P&gt;&lt;P&gt;QUERY "param name" "param value",&lt;/P&gt;&lt;P&gt;HEADER "header name" "header value",&lt;/P&gt;&lt;P&gt;BODY "request body text"&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answer from Petter in the full context.&lt;/P&gt;&lt;P&gt;&lt;A ___default_attr="1234090" data-orig-content="Re: With Connection statement - What are all the parameters possible?" href="https://community.qlik.com/" jivemacro="message" title="Re: With Connection statement - What are all the parameters possible?"&gt;Re: With Connection statement - What are all the parameters possible?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Mar 2017 22:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Syntax-to-change-URLs-and-Query-Parameters-using-WITH-CONNECTION/m-p/1292613#M27279</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-19T22:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax to change URLs and Query Parameters using WITH CONNECTION</title>
      <link>https://community.qlik.com/t5/App-Development/Syntax-to-change-URLs-and-Query-Parameters-using-WITH-CONNECTION/m-p/1292614#M27280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, maybe your answer is the best source of syntax;&lt;/P&gt;&lt;P&gt;I'll wait before accepting your answer as&amp;nbsp; I was hoping for a more definitive/authoritative source/documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 16:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Syntax-to-change-URLs-and-Query-Parameters-using-WITH-CONNECTION/m-p/1292614#M27280</guid>
      <dc:creator />
      <dc:date>2017-03-20T16:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax to change URLs and Query Parameters using WITH CONNECTION</title>
      <link>https://community.qlik.com/t5/App-Development/Syntax-to-change-URLs-and-Query-Parameters-using-WITH-CONNECTION/m-p/1292615#M27281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately there is no more information on the web currently nor on the help.&lt;/P&gt;&lt;P&gt;You may log a ticket in order for Qlik to update their help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 17:07:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Syntax-to-change-URLs-and-Query-Parameters-using-WITH-CONNECTION/m-p/1292615#M27281</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-20T17:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax to change URLs and Query Parameters using WITH CONNECTION</title>
      <link>https://community.qlik.com/t5/App-Development/Syntax-to-change-URLs-and-Query-Parameters-using-WITH-CONNECTION/m-p/1292616#M27282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note HEADER should be HTTPHEADER (at least in QSE 3.2 and above)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 12:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Syntax-to-change-URLs-and-Query-Parameters-using-WITH-CONNECTION/m-p/1292616#M27282</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-24T12:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax to change URLs and Query Parameters using WITH CONNECTION</title>
      <link>https://community.qlik.com/t5/App-Development/Syntax-to-change-URLs-and-Query-Parameters-using-WITH-CONNECTION/m-p/1292617#M27283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an issue too.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/183299_Screenshot_2.png" style="height: 322px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It fails when i use WITH CONNECTION. I think the problem is the Header but im not sure what is exaclty the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 04:01:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Syntax-to-change-URLs-and-Query-Parameters-using-WITH-CONNECTION/m-p/1292617#M27283</guid>
      <dc:creator>slondono</dc:creator>
      <dc:date>2017-11-15T04:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax to change URLs and Query Parameters using WITH CONNECTION</title>
      <link>https://community.qlik.com/t5/App-Development/Syntax-to-change-URLs-and-Query-Parameters-using-WITH-CONNECTION/m-p/1292618#M27284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Qlik Sense 3.1 SR4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've had to fight through this over the last week... our URL required 2 query parameters, both "start_date" and "end_date".&amp;nbsp; In order to get that to work successfully, I had to set values in the initial REST connection setup, allow it to verify, and save the connection.&amp;nbsp; Then in code, I had to do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM CSV (header off, delimiter "|", quote """") "CSV_source"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WITH CONNECTION (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUERY "start_date" "$(vCurrentStartDate)",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUERY "end_date" "$(vCurrentEndDate)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure there's someone out there that could use this with their connections.&amp;nbsp; Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 16:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Syntax-to-change-URLs-and-Query-Parameters-using-WITH-CONNECTION/m-p/1292618#M27284</guid>
      <dc:creator>bjendrick</dc:creator>
      <dc:date>2017-11-15T16:56:07Z</dc:date>
    </item>
  </channel>
</rss>

