Forum Discussion
ianreid
3 years agoNew Contributor III
Dynamically disable button on a dashboard
Is there a way to set the property of a dashboard button to disabled? I have a dashboard that includes a number of button objects that execute various tasks, such as running a calculation, locking t...
MikeG
3 years agoContributor III
This is an example of IsVisible from the OneStream People Planning Solution - it is a condition check to Show/Hide the button if the user is an Admin.
Function in XFBR String rule:
That will return the Boolean True/False. So the button is hidden from Non-Admins. That BRApi call is a packaged OS function. They are pretty cool like that in that common functions are packaged and standard. You could hijack this methodology and do whatever condition statement you need to hide it.
I'll also paste code here so you could do an exception window if that helps.
Related Content
- 5 months ago