<?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: NPrinting API on selection not working in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-API-on-selection-not-working/m-p/1777649#M31064</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please open a new conversation for a new question also because this is a 3 years old one.&lt;/P&gt;&lt;P&gt;Please add al details to let us know. It is not clear for me if you want to run an On-Demand report via API or if you want to pass selections to an On-Demand request.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2021 09:06:18 GMT</pubDate>
    <dc:creator>Ruggero_Piccoli</dc:creator>
    <dc:date>2021-01-27T09:06:18Z</dc:date>
    <item>
      <title>NPrinting API on selection not working</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-API-on-selection-not-working/m-p/1321684#M16424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: tahoma, arial, helvetica, sans-serif;"&gt;I'm now to Qlik and NPrinting and I'm trying to use the NPrinting API as documented here (&lt;A href="https://help.qlik.com/en-US/nprinting/June2017/APIs/NP%20API/" title="https://help.qlik.com/en-US/nprinting/June2017/APIs/NP%20API/"&gt;https://help.qlik.com/en-US/nprinting/June2017/APIs/NP%20API/&lt;/A&gt;&lt;/SPAN&gt;) to create on demand report with filter and selection.&amp;nbsp; The following is my json for such request.&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Type": "Report",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Config": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ReportId": "9963fc8a-800c-4c64-bdcf-b5c42440f704",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "OutputFormat": "Pdf",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Selections": [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "FieldName": "Country",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "SelectedCount": 3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "SelectedValues": [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Hong Kong",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Austria",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Pakistan"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "IsNumeric": false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "ConnectionId": "062ca52c-169c-481b-942b-cb54e0f34a3c"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Filters": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "InitialBookmark": null,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "AdditionalFilters": [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "5cbaa178-c991-45ee-b9ba-6f3ccab21f80"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have double and triple checked the guid of the filter used, the connection guid to the Qlik sense app and the report guid via API calls on connection, filter and application.&amp;nbsp; But the report output keep showing no country selected.&amp;nbsp; Would anyone show some direction?&amp;nbsp; I'm lost as I thought I have figured out how to use the API and the parameters in this request makes sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 17:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-API-on-selection-not-working/m-p/1321684#M16424</guid>
      <dc:creator />
      <dc:date>2017-07-31T17:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: NPrinting API on selection not working</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-API-on-selection-not-working/m-p/1321685#M16425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got reply from Robert Mohr and Jon Yusam from Qlik that the request should actually have the Json object like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;Type:&lt;/P&gt;&lt;P&gt;Config:&lt;/P&gt;&lt;P&gt;Selections:&lt;/P&gt;&lt;P&gt;ConnectionId&lt;/P&gt;&lt;P&gt;Filters:&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;that means the selections and connectionId are not properties with config object.&amp;nbsp; I have changed my code accordingly and the selections now is working like an additional filter and NPrinting is applying the same filters logic, that mean, if more than one value list is applied to the same field, only the common values among the list of values would apply.&amp;nbsp; I haven't tried the scenario with the override flag in a filter though.&amp;nbsp; Would try out later and see if the selections is considered to be a filter at the end of the chain of filters or a the front. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 21:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-API-on-selection-not-working/m-p/1321685#M16425</guid>
      <dc:creator />
      <dc:date>2017-08-08T21:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: NPrinting API on selection not working</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-API-on-selection-not-working/m-p/1321686#M16426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have confirmed this is a documentation bug and will be resolved in September.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 15:28:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-API-on-selection-not-working/m-p/1321686#M16426</guid>
      <dc:creator>Stephen_Jasionowski</dc:creator>
      <dc:date>2017-08-09T15:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: NPrinting API on selection not working</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-API-on-selection-not-working/m-p/1321687#M16427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very cool.&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 15:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-API-on-selection-not-working/m-p/1321687#M16427</guid>
      <dc:creator />
      <dc:date>2017-08-09T15:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: NPrinting API on selection not working</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-API-on-selection-not-working/m-p/1777515#M31058</link>
      <description>&lt;P&gt;HI, i Hope you don't mind me asking but I can see you have added a Field with 3 options.&amp;nbsp; If I had a filter in my QV app with over options would I have to add all of these to the Json Object if I wanted the to pass any of these selected items to the OnDemand Report?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 17:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-API-on-selection-not-working/m-p/1777515#M31058</guid>
      <dc:creator>Senor_Dai</dc:creator>
      <dc:date>2021-01-26T17:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: NPrinting API on selection not working</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-API-on-selection-not-working/m-p/1777649#M31064</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please open a new conversation for a new question also because this is a 3 years old one.&lt;/P&gt;&lt;P&gt;Please add al details to let us know. It is not clear for me if you want to run an On-Demand report via API or if you want to pass selections to an On-Demand request.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 09:06:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-API-on-selection-not-working/m-p/1777649#M31064</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2021-01-27T09:06:18Z</dc:date>
    </item>
  </channel>
</rss>

