<?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: On Demand API Working but not passing user selections in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/On-Demand-API-Working-but-not-passing-user-selections/m-p/1777496#M31056</link>
    <description>&lt;P&gt;Hi, thanks for the response - but I cant see any definitive way to pass user selections to the OnDemand Request from these examples - Unless Im missing something&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dai&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jan 2021 16:22:57 GMT</pubDate>
    <dc:creator>Senor_Dai</dc:creator>
    <dc:date>2021-01-26T16:22:57Z</dc:date>
    <item>
      <title>On Demand API Working but not passing user selections</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/On-Demand-API-Working-but-not-passing-user-selections/m-p/1777420#M31052</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm successfully able to trigger on OnDemand Report using the API from a Javascript action using the following code :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="p1"&gt;function(){&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;var data = JSON.stringify({"type":"report","config":{"reportId":"87d35c6-0b10-201p-edf5-7239562219e2","outputFormat":"PDF"}});&lt;BR /&gt;&lt;BR /&gt;var xhr = new XMLHttpRequest();&lt;BR /&gt;&lt;BR /&gt;xhr.open("POST", "&lt;A href="https://mynprintserver.com/api/v1/ondemand/requests" target="_blank"&gt;https://mynprintserver.com/api/v1/ondemand/requests&lt;/A&gt;");&lt;BR /&gt;xhr.withCredentials = true;&lt;BR /&gt;xhr.setRequestHeader("Content-Type", "application/json");&lt;BR /&gt;xhr.send(data);&lt;BR /&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;}&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Can any help with the code for passing any user selections across also?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dai&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 13:11:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/On-Demand-API-Working-but-not-passing-user-selections/m-p/1777420#M31052</guid>
      <dc:creator>Senor_Dai</dc:creator>
      <dc:date>2021-01-26T13:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: On Demand API Working but not passing user selections</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/On-Demand-API-Working-but-not-passing-user-selections/m-p/1777473#M31055</link>
      <description>&lt;P&gt;Hi Senor_Dai,&lt;/P&gt;&lt;P&gt;Did you try with this API?&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/nprinting/November2020/APIs/NP+API/index.html?page=34" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/November2020/APIs/NP+API/index.html?page=34&lt;/A&gt;&lt;/P&gt;&lt;P&gt;An example can be found in this post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Discussions/Nprinting-on-demand-API-with-JQuery/td-p/139219" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Discussions/Nprinting-on-demand-API-with-JQuery/td-p/139219&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope it helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 15:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/On-Demand-API-Working-but-not-passing-user-selections/m-p/1777473#M31055</guid>
      <dc:creator>Andrea_Bertazzo</dc:creator>
      <dc:date>2021-01-26T15:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: On Demand API Working but not passing user selections</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/On-Demand-API-Working-but-not-passing-user-selections/m-p/1777496#M31056</link>
      <description>&lt;P&gt;Hi, thanks for the response - but I cant see any definitive way to pass user selections to the OnDemand Request from these examples - Unless Im missing something&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dai&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 16:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/On-Demand-API-Working-but-not-passing-user-selections/m-p/1777496#M31056</guid>
      <dc:creator>Senor_Dai</dc:creator>
      <dc:date>2021-01-26T16:22:57Z</dc:date>
    </item>
  </channel>
</rss>

