<?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: QlikSense REST Connector Post Method (into the script) using JSON in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-REST-Connector-Post-Method-into-the-script-using-JSON/m-p/1648891#M4676</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The "&lt;SPAN&gt;$(" part in your API token seems to trigger a dollar sign expansion. There is no way to prevent Qlik engine from evaluating dollar sign expansion as far as I'm aware of. You may consider generating another token.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Vu Nguyen&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Nov 2019 08:12:49 GMT</pubDate>
    <dc:creator>vunguyenq89</dc:creator>
    <dc:date>2019-11-20T08:12:49Z</dc:date>
    <item>
      <title>QlikSense REST Connector Post Method (into the script) using JSON</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-REST-Connector-Post-Method-into-the-script-using-JSON/m-p/1645777#M4632</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am also facing same kind of issue where dynamically changing the values from script using variable as follows.&lt;/P&gt;&lt;P&gt;if i am passing the values as character and number into the variable(vtokenvalue ) the script working fine, while passing the value like (?Hu7?$(\"e) getting the error from attached screen.&lt;/P&gt;&lt;P&gt;Please suggested me to resolve this issues.&lt;/P&gt;&lt;P&gt;Please find attached sample script for reference.&lt;/P&gt;&lt;P&gt;LET vtokenvalue ='?Ax6?$(\"e';&lt;BR /&gt;LET vRequestBody = '{"Name":"Ravindra", "address":"$(vtokenvalue)"}';&lt;BR /&gt;LET vRequest=Replace(vRequestBody,'"',Chr(34)&amp;amp;Chr(34));&lt;BR /&gt;LIB CONNECT TO 'Rest_Json_Test (cb_npgmr05)';&lt;BR /&gt;RestConnectorMasterTable:&lt;BR /&gt;SQL SELECT&lt;BR /&gt;"Name",&lt;BR /&gt;"address",&lt;BR /&gt;"id",&lt;BR /&gt;"createdAt"&lt;BR /&gt;FROM JSON (wrap on) "root"&lt;/P&gt;&lt;P&gt;WITH CONNECTION (HTTPHEADER "Content-Type" "application/json;charset=utf-8",&lt;BR /&gt;HTTPHEADER "Accept" "text/plain",&lt;BR /&gt;BODY "$(vRequest)");&lt;/P&gt;&lt;P&gt;[root]:&lt;BR /&gt;LOAD [Name] AS [Name],&lt;BR /&gt;[address] AS [address],&lt;BR /&gt;[id] AS [id],&lt;BR /&gt;[createdAt] AS [createdAt]&lt;BR /&gt;RESIDENT RestConnectorMasterTable;&lt;BR /&gt;DROP TABLE RestConnectorMasterTable;&lt;/P&gt;&lt;P&gt;Thanks in Advance!!&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Khasimvali Shaik&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 10:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-REST-Connector-Post-Method-into-the-script-using-JSON/m-p/1645777#M4632</guid>
      <dc:creator>khasimvali85</dc:creator>
      <dc:date>2019-11-13T10:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense REST Connector Post Method (into the script) using JSON</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-REST-Connector-Post-Method-into-the-script-using-JSON/m-p/1648891#M4676</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The "&lt;SPAN&gt;$(" part in your API token seems to trigger a dollar sign expansion. There is no way to prevent Qlik engine from evaluating dollar sign expansion as far as I'm aware of. You may consider generating another token.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Vu Nguyen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 08:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-REST-Connector-Post-Method-into-the-script-using-JSON/m-p/1648891#M4676</guid>
      <dc:creator>vunguyenq89</dc:creator>
      <dc:date>2019-11-20T08:12:49Z</dc:date>
    </item>
  </channel>
</rss>

