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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
madmax88
Creator II
Creator II

Button Color by AD Group

Hi all,

Is it possible to show the color of a button by AD Group.

E.G.

User A has AD GROUP "Finance"

USER B  has AD GROUP "Sales"

I have 2 Button

Button 1: Finance_Details

Button 2: Sales_Details

I want User A seeing Button 1 Text (Finance Details) with color "black" and User B see Button 1 Text grey

Same for Button 2:

User A see Button 2 Text (Sales_Detail) grey and User B sees it black.

Is this possible by connecting the AD into the script and if yes, how?

1 Reply
Chanty4u
MVP
MVP

HI may be try this

Use calculated Color for button color. Use the same variable use in the button action to control its color

If(vVar = 1, ActiveColor, DeactiveColor)

 

where vVar is button's action