Faceplate Buttons
Dear All
How to Configure Start and Stop buttons invisible for Operator on the faceplate and rest user members can See.
Thanks in Advance
Answers
You can have the buttons enable/disable for different users but you can't have them invisible.
You have to set permission for the variable which is connected to the button. Open the control module in Editor, go to Tools/Edit Permissions, look for the variable and choose a appropriate Write permission (for ex. Administrate, operators doesn't have Administrate right).
You can use Security Definition aspect to Allow/Deny rights for a specific user.
You can use Security Definition aspect to Allow/Deny rights for a specific user.
If an expression returns "0" or False, the button is disabled. If an expression returns "1" or True, the button is enabled (for stating the obvious).
But if an expression returns "2", the button becomes invisible, maybe this is less known...
I do not think this will help you design an expression to hide the button based on the current user - I believe that these expressions cannot read property attributes (happy to be corrected).
It might still be handy to know that returned value of "2" makes the button invisible.
Add new comment