<?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 QlikSense Rest Connector - Use Variable for a Query Header Value in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-Rest-Connector-Use-Variable-for-a-Query-Header-Value/m-p/2444359#M13592</link>
    <description>&lt;P&gt;I am working on a QlikSense application which connects to a SharePoint Online list via a Rest Connector.&amp;nbsp; I need to be able to have a Query Header Name be "Authorization" and the Query Header Value set to an encryption key which will change daily.&amp;nbsp; See the highlighted section below for where I am hoping to use the variable.&amp;nbsp; Is it possible to use a variable in this field so that I do not have to manually go in every single day and set the new encryption key?&amp;nbsp; See the highlighted section below for where I am hoping to use the variable.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nhaataja_0-1713962702987.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/164611iA3EA25412B49B0A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nhaataja_0-1713962702987.png" alt="nhaataja_0-1713962702987.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2024 12:47:23 GMT</pubDate>
    <dc:creator>nhaataja</dc:creator>
    <dc:date>2024-04-24T12:47:23Z</dc:date>
    <item>
      <title>QlikSense Rest Connector - Use Variable for a Query Header Value</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-Rest-Connector-Use-Variable-for-a-Query-Header-Value/m-p/2444359#M13592</link>
      <description>&lt;P&gt;I am working on a QlikSense application which connects to a SharePoint Online list via a Rest Connector.&amp;nbsp; I need to be able to have a Query Header Name be "Authorization" and the Query Header Value set to an encryption key which will change daily.&amp;nbsp; See the highlighted section below for where I am hoping to use the variable.&amp;nbsp; Is it possible to use a variable in this field so that I do not have to manually go in every single day and set the new encryption key?&amp;nbsp; See the highlighted section below for where I am hoping to use the variable.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nhaataja_0-1713962702987.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/164611iA3EA25412B49B0A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nhaataja_0-1713962702987.png" alt="nhaataja_0-1713962702987.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 12:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-Rest-Connector-Use-Variable-for-a-Query-Header-Value/m-p/2444359#M13592</guid>
      <dc:creator>nhaataja</dc:creator>
      <dc:date>2024-04-24T12:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense Rest Connector - Use Variable for a Query Header Value</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-Rest-Connector-Use-Variable-for-a-Query-Header-Value/m-p/2444361#M13593</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can use a WITH CONNECTION parameter :&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/Load-REST-data/Load-data.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/Load-REST-data/Load-data.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For example :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SELECT
  [...]
FROM JSON (wrap off) "result"
WITH CONNECTION (
HTTPHEADER "auth_type" "$(vToken)"
);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 12:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-Rest-Connector-Use-Variable-for-a-Query-Header-Value/m-p/2444361#M13593</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2024-04-24T12:55:30Z</dc:date>
    </item>
  </channel>
</rss>

