<?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 get the token dynamically from RestConnector in Qlikview 12.4... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/is-it-possible-to-get-the-token-dynamically-from-RestConnector/m-p/1735619#M1228057</link>
    <description>&lt;P&gt;Best place I can point you is the Help to be sure you have reviewed all the available information there:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/REST-connector.htm" target="_blank"&gt;https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/REST-connector.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you do not find what you need, the other thing would likely be to check the Ideas area of Community to see if there is anything there regarding this functionality request and if not, you can create a new request...&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas" target="_blank"&gt;https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sorry I do not have anything better for you.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Aug 2020 14:10:51 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-08-13T14:10:51Z</dc:date>
    <item>
      <title>is it possible to get the token dynamically from RestConnector in Qlikview 12.4...</title>
      <link>https://community.qlik.com/t5/QlikView/is-it-possible-to-get-the-token-dynamically-from-RestConnector/m-p/1732133#M1228052</link>
      <description>&lt;P&gt;Hi, I have this scenario where I need to connect to an API using the RestConnector.exe and the connection was successful but the problem is the authorization key expires in around 8 to 10 hours which means I cannot sue the auth key as one time password... I went through some posts and noticed that this works in Qliksense but not in Qlikview...&lt;/P&gt;&lt;P&gt;is it still the same ? Thanks a lot for your time&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 21:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-it-possible-to-get-the-token-dynamically-from-RestConnector/m-p/1732133#M1228052</guid>
      <dc:creator>QlikviewRaj11</dc:creator>
      <dc:date>2026-01-26T21:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to get the token dynamically from RestConnector in Qlikview 12.4...</title>
      <link>https://community.qlik.com/t5/QlikView/is-it-possible-to-get-the-token-dynamically-from-RestConnector/m-p/1735619#M1228057</link>
      <description>&lt;P&gt;Best place I can point you is the Help to be sure you have reviewed all the available information there:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/REST-connector.htm" target="_blank"&gt;https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/REST-connector.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you do not find what you need, the other thing would likely be to check the Ideas area of Community to see if there is anything there regarding this functionality request and if not, you can create a new request...&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas" target="_blank"&gt;https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sorry I do not have anything better for you.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 14:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-it-possible-to-get-the-token-dynamically-from-RestConnector/m-p/1735619#M1228057</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-08-13T14:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: is it possible to get the token dynamically from RestConnector in Qlikview 12.4...</title>
      <link>https://community.qlik.com/t5/QlikView/is-it-possible-to-get-the-token-dynamically-from-RestConnector/m-p/1750506#M1228059</link>
      <description>&lt;P&gt;Consider splitting the request into two parts.&lt;/P&gt;&lt;P&gt;The first API request GETs the token and saves&amp;nbsp; the token into a variable.&lt;/P&gt;&lt;P&gt;The second API call uses that variable in the data load request. Note: I'm using two different data connections in the below example. Something like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First part&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LIB CONNECT TO '&lt;STRONG&gt;API_TOKEN_REFRESH&lt;/STRONG&gt;';&lt;/P&gt;&lt;P&gt;TokenRefresh:&lt;BR /&gt;SQL SELECT&lt;BR /&gt;&lt;STRONG&gt;"token"&lt;/STRONG&gt;,&lt;BR /&gt;"__KEY_root"&lt;BR /&gt;FROM JSON (wrap on) "root" PK "__KEY_root";&lt;/P&gt;&lt;P&gt;[root]:&lt;BR /&gt;LOAD [token],&lt;BR /&gt;[__KEY_root]&lt;BR /&gt;RESIDENT TokenRefresh&lt;BR /&gt;WHERE NOT IsNull([__KEY_root]);&lt;/P&gt;&lt;P&gt;// Variable placeholder for autogenerated token&lt;BR /&gt;LET &lt;STRONG&gt;vToken&lt;/STRONG&gt; = peek('token', 0, 'root');&lt;BR /&gt;DROP TABLE root;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Second Part where the important thing is in the 'WITH CONNECTION' part. I think there is a in-depth documentation somewhere on the Qlik site.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LIB CONNECT TO '&lt;STRONG&gt;API_GET_DATA_REQUEST&lt;/STRONG&gt;';&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ExampleDataTable:&lt;BR /&gt;SQL SELECT&lt;BR /&gt;"id",&lt;BR /&gt;"SomeField",&lt;BR /&gt;"AnotherField"&lt;BR /&gt;FROM "SomeTable" PK "__KEY_root" )&lt;BR /&gt;FROM JSON (wrap on) "root" PK "__KEY_root"&lt;BR /&gt;&lt;STRONG&gt;WITH CONNECTION&lt;/STRONG&gt; (&lt;BR /&gt;URL "&lt;A href="https://api.yourservice.com/your-end-point" target="_blank" rel="noopener"&gt;https://api.yourservice.com/your-end-point&lt;/A&gt;",&lt;BR /&gt;QUERY "dataType" "good",&lt;BR /&gt;HTTPHEADER "auth" "&lt;STRONG&gt;$(vToken)&lt;/STRONG&gt;"&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;// The rest of the your JSON tables structure follows here...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it works for you&amp;nbsp; -&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 22:19:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/is-it-possible-to-get-the-token-dynamically-from-RestConnector/m-p/1750506#M1228059</guid>
      <dc:creator>daudballing</dc:creator>
      <dc:date>2020-10-07T22:19:46Z</dc:date>
    </item>
  </channel>
</rss>

