Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello!
I am using the Qlik NPrinting API to generate the On-Demand reports, I can create filters to the reports from the API knowing the value that the filter field contains.
The point is that in some moments I need the value of the fields to be dynamic before being created. is there any way to get the report cache filtering by field to get the possible values and create the filter?
Attached image of how nprinting shows it from the administration panel
What you have shown in screenshot is the cache from metadata generation which can be used to create filters in NPrinting.
On-Demand reports typically do not use those filters from NPrinting though!
Instead you need to obtain current selection state from Qlik Sense app using Qlik Sense API and pass it into OnDemand api as an array of selected in Qlik Sense app fields and values:
https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=90
What you have shown in screenshot is the cache from metadata generation which can be used to create filters in NPrinting.
On-Demand reports typically do not use those filters from NPrinting though!
Instead you need to obtain current selection state from Qlik Sense app using Qlik Sense API and pass it into OnDemand api as an array of selected in Qlik Sense app fields and values:
https://help.qlik.com/en-US/nprinting/May2021/APIs/NP+API/index.html?page=90