Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
abe786
Contributor III
Contributor III

Is there a way to disable on-demand nprinting when there are no selections

I'm trying to restrict users from clicking on-demand button in Qlik Sense (Jun 2020) when they haven't made any selections. Is there a way I can do this ?

I tried putting the on-demand button in an container, so that I can conditionally hide it however the button doesn't work from inside the container. Is there any other way?

 

Labels (2)
1 Solution

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

hI @abe786 

Putting button inside container definitelly work. I am using such solution in all my projects so I dont know what does not work for you. Just make sure you use the native container object and make button appear dynamically depending on selection/condition.

To troubleshoot issues with button in container you will need to use web browser developer tools.

cheers 

Lech

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

3 Replies
Ruggero_Piccoli
Support
Support

Hi,

I think there is not a feature to conditionally hide or show the On-Demand button. You could post an idea in the ideation portal or you can evaluate to create something custom by using Qlik NPrinting APIs https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/Extending/Intro-Extending.htm

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

hI @abe786 

Putting button inside container definitelly work. I am using such solution in all my projects so I dont know what does not work for you. Just make sure you use the native container object and make button appear dynamically depending on selection/condition.

To troubleshoot issues with button in container you will need to use web browser developer tools.

cheers 

Lech

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.
abe786
Contributor III
Contributor III
Author

Thanks Lech. I tried it again and it worked. 

Turned out I had forgot to turn off tabs in the container object the first time 😑