Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Is it possible to restrict buttons based on current selection?

Hello,

  I want to restrict a button from being pressed if no selections have been made - is this possible?  Is there a variable I can refernce from the 'current selection' object?

Thanks,

Tyler

1 Solution

Accepted Solutions
johnw
Champion III
Champion III

Put this in the enable condition (or in the show condition if you want the button hidden, not just disabled).

len(getcurrentselections())

View solution in original post

2 Replies
johnw
Champion III
Champion III

Put this in the enable condition (or in the show condition if you want the button hidden, not just disabled).

len(getcurrentselections())

Not applicable
Author

Thanks for the quick response John!