Qlik Community

Ask a Question

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

Announcements
Live chat with experts, bring your API Integration questions. June 15th, 10 AM ET. REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
MoslemTeymoori
Contributor III
Contributor III

Default and Dynamic Filtering in Nprinting

Hello everyone 

I created an app in Qlik sense  which has  default selections based on some variables, basically the variables are used as  filters and they are set to default values ( which means the meta data is loaded on Nprinting with some default selections in Qlik sense),  and i added on demand reporting with Qlik sense Nprinting.  All went well and i created the connection and i managed to print the report.  but the problem: there is only correct representation of the values and charts only for the default selection!  when i change the default selection to another variable filter in Qlik sense and then click to print the On demand reporting , the values and the charts doesn't correspond to my new selection! I would like to know if Qlik sense Nprinting can replace the new selection with the default or not ? 

 

Any hints? 

Thank you .

 

Labels (2)
1 Solution

Accepted Solutions
Lech_Miszkiewicz

Well,

there is a big difference between field selection and setting variable value.

Variable value set during the session is not passed to NPrinting during OnDemand as OnDemand extension simply does not support it. It only passes field selections as filters.

The only way you can workaround it is to change the way you apply default selections ; change from variables to fields (they also can be island fields setting values in variables) but the object which is driving selection needs to be a field (filter pane).

I have provided a steps in one of the comments here: https://community.qlik.com/t5/Qlik-NPrinting-Discussions/Variable-filters-in-NPrinting-V17/td-p/1347...

If you go for this approach you need to remember that "always one selected value" is not supported, triggers, alternate states are also not supported with NPrinting. (they may/may not work!!! hence cannot be supported)

please refer to https://help.qlik.com for detailed information regarding requirtements and unsupported configurations.

 

Also there were already posts on community answering it:

https://community.qlik.com/t5/Qlik-NPrinting-Discussions/Variable-in-on-demand-QV-don-t-change-value...

https://community.qlik.com/t5/Qlik-NPrinting-Discussions/On-demand-report-with-input-variable/m-p/11...

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.

View solution in original post

1 Reply
Lech_Miszkiewicz

Well,

there is a big difference between field selection and setting variable value.

Variable value set during the session is not passed to NPrinting during OnDemand as OnDemand extension simply does not support it. It only passes field selections as filters.

The only way you can workaround it is to change the way you apply default selections ; change from variables to fields (they also can be island fields setting values in variables) but the object which is driving selection needs to be a field (filter pane).

I have provided a steps in one of the comments here: https://community.qlik.com/t5/Qlik-NPrinting-Discussions/Variable-filters-in-NPrinting-V17/td-p/1347...

If you go for this approach you need to remember that "always one selected value" is not supported, triggers, alternate states are also not supported with NPrinting. (they may/may not work!!! hence cannot be supported)

please refer to https://help.qlik.com for detailed information regarding requirtements and unsupported configurations.

 

Also there were already posts on community answering it:

https://community.qlik.com/t5/Qlik-NPrinting-Discussions/Variable-in-on-demand-QV-don-t-change-value...

https://community.qlik.com/t5/Qlik-NPrinting-Discussions/On-demand-report-with-input-variable/m-p/11...

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.

View solution in original post