<?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: Create NPrinting OnDemand Request using Javascript and APIs in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Create-NPrinting-OnDemand-Request-using-Javascript-and-APIs/m-p/1860274#M34141</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17101"&gt;@Senor_Dai&lt;/a&gt;,Have you ever managed to realize the solution?&amp;nbsp;&lt;BR /&gt;We having issues implementing the new OnDemand QlikView plugin, it lacks several options and features than the "old" v16 version had.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Qlik sadly said al below as working "by design"&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Conditional onDemand reports, users have to make specific selections before the report can be succesfull (any report can be started any time on any sheet)&lt;/LI&gt;
&lt;LI&gt;Default output keeps reverting to the first sorted value in dropdown, a Excel is always default HTML&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Trigger a task to mail a report to myself, instead of waiting for task to finally end&lt;/LI&gt;
&lt;LI&gt;Reportnames are not dynamic, if you trigger 4 reports you cannot see what is what.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Wed, 17 Nov 2021 08:35:47 GMT</pubDate>
    <dc:creator>p_verkooijen</dc:creator>
    <dc:date>2021-11-17T08:35:47Z</dc:date>
    <item>
      <title>Create NPrinting OnDemand Request using Javascript and APIs</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Create-NPrinting-OnDemand-Request-using-Javascript-and-APIs/m-p/1775995#M30994</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am able to trigger an NPrint Publish task from a button in my Qlikview app using the following Javascript action:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="p1"&gt;{&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&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/tasks/ce8uff26-978b-4ff8-8388-1d7887653443/executions" target="_blank"&gt;https://mynprintserver.com/api/v1/tasks/ce8uff26-978b-4ff8-8388-1d7887653443/executions&lt;/A&gt;', true);&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;xhr.withCredentials = true;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;xhr.send(null);&lt;BR /&gt;&lt;BR /&gt;console.log("Finished")&lt;BR /&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;}&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I'm having difficulty trying to understand the Qlik API reference document :&lt;BR /&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;to try and create a Javascript as per the Publish Task at the start of my post.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd be very very grateful if anyone can advise on how to build a function trigger an ondemand report?&lt;/P&gt;&lt;P&gt;Many many thanks.&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>Wed, 20 Jan 2021 13:28:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Create-NPrinting-OnDemand-Request-using-Javascript-and-APIs/m-p/1775995#M30994</guid>
      <dc:creator>Senor_Dai</dc:creator>
      <dc:date>2021-01-20T13:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create NPrinting OnDemand Request using Javascript and APIs</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Create-NPrinting-OnDemand-Request-using-Javascript-and-APIs/m-p/1776002#M30995</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You need to login with NTML authentication and retriave the connection token. Then you use that token, that is different for every session, to run the post api.&lt;/P&gt;&lt;P&gt;I wrote a tutorial yesterday&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Documents/How-to-manage-Qlik-NPrinting-users-by-using-API/ta-p/1775662" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Documents/How-to-manage-Qlik-NPrinting-users-by-using-API/ta-p/1775662&lt;/A&gt;&amp;nbsp;and there are othe r conversations here in the community.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 14:13:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Create-NPrinting-OnDemand-Request-using-Javascript-and-APIs/m-p/1776002#M30995</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2021-01-20T14:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create NPrinting OnDemand Request using Javascript and APIs</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Create-NPrinting-OnDemand-Request-using-Javascript-and-APIs/m-p/1860274#M34141</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17101"&gt;@Senor_Dai&lt;/a&gt;,Have you ever managed to realize the solution?&amp;nbsp;&lt;BR /&gt;We having issues implementing the new OnDemand QlikView plugin, it lacks several options and features than the "old" v16 version had.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Qlik sadly said al below as working "by design"&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Conditional onDemand reports, users have to make specific selections before the report can be succesfull (any report can be started any time on any sheet)&lt;/LI&gt;
&lt;LI&gt;Default output keeps reverting to the first sorted value in dropdown, a Excel is always default HTML&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Trigger a task to mail a report to myself, instead of waiting for task to finally end&lt;/LI&gt;
&lt;LI&gt;Reportnames are not dynamic, if you trigger 4 reports you cannot see what is what.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 17 Nov 2021 08:35:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Create-NPrinting-OnDemand-Request-using-Javascript-and-APIs/m-p/1860274#M34141</guid>
      <dc:creator>p_verkooijen</dc:creator>
      <dc:date>2021-11-17T08:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create NPrinting OnDemand Request using Javascript and APIs</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Create-NPrinting-OnDemand-Request-using-Javascript-and-APIs/m-p/2065285#M38825</link>
      <description>&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var xhr = new XMLHttpRequest();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;xhr.open('POST', '&lt;/SPAN&gt;&lt;A href="https://mynprintserver.com/api/v1/tasks/ce8uff26-978b-4ff8-8388-1d7887653443/executions" target="_blank" rel="nofollow noopener noreferrer"&gt;https://mynprintserver.com/api/v1/tasks/ce8uff26-978b-4ff8-8388-1d7887653443/executions&lt;/A&gt;&lt;SPAN&gt;', true);&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;xhr.withCredentials = true;&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;xhr.send(null);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;console.log("Finished")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="Apple-converted-space"&gt;where to put this script in qlik Front end&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 13:11:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Create-NPrinting-OnDemand-Request-using-Javascript-and-APIs/m-p/2065285#M38825</guid>
      <dc:creator>nishika</dc:creator>
      <dc:date>2023-04-27T13:11:19Z</dc:date>
    </item>
  </channel>
</rss>

