Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
jblomqvist
Specialist
Specialist

Enable Condition question: How can I control which button a user clicks on based on a users table like this example app? [Application Attached]

Hi there,

In the attached app I would like to control which button is activated based on the currently logged in user, comparing that user against the Users table, and seeing which group they have access to.

I believe I somehow need to compare the OSUser() against the USERID values but I am not sure.

All of this info is provided in the app. Does anyone know how to implement it?

Thank you

4 Replies
sunny_talwar

Try out the attached

maxgro
MVP
MVP

add to every button, in the layout tab, a conditional show

example for button 1

Alt(Only({$ <USERID={$(=osuser())}>} Group1), 0)

jblomqvist
Specialist
Specialist
Author

Thank you sunny for this very nice idea!

jblomqvist
Specialist
Specialist
Author

Thank you maxgro you are a star!