Right now I have a button that is only Visible if the user is in a Collection called "IsManager". However, I would rather the button be visible but Disabled instead. So I am trying to do this in the DisplayMode depending on if the user falls into the collection IsManager. Any help with the formula? Thank you.
If(IsManager=true then Disabled=false) or If(IsManager=false then Disabled=true)
Solved! Go to Solution.
@Anonymous
Is manager appears to be a boolean (true/false) variable from what you have typed rather than a collection. If this is the case you should put the code below in your DisplayMode property for the button.
If(IsManager=true,Edit,Disabled)
If IsManager is in fact a collection please supply the column names and a sample of what data is held in the collection.
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
@Anonymous
Is manager appears to be a boolean (true/false) variable from what you have typed rather than a collection. If this is the case you should put the code below in your DisplayMode property for the button.
If(IsManager=true,Edit,Disabled)
If IsManager is in fact a collection please supply the column names and a sample of what data is held in the collection.
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
So when I use the formula If(IsManager=true,View,Disabled) for users that are not in the IsManager collection, the button shows but is greyed-out, for users who are in the IsManager collection, the button shows full color but user cannot click on button. I also have the Visible set to true, would that make a difference? Thank you.
@Anonymous
Sorry, do this instead: If(IsManager=true,Edit,Disabled)
User | Count |
---|---|
253 | |
106 | |
84 | |
51 | |
43 |