Hi,
I want to show/hide ribbon button with a Contain condition.
For example:
There are three people email in a text field. The button will visible/invisible based on logged in user email in the text field.
I think that the security role is not suitable to do because of the email(s) in the text field is dynamic not static.
Any suggestion on this?
Yes. Don't use the Ribbon Workbench.
Instead, use Commands, and write a PowerFX command to evaluate your condition. You can get the current user's email address in PowerFX commands with
User().Email
Hello,
I would recommend using Custom Rule with JavaScript. Check this as an example - https://www.drware.com/show-custom-ribbon-button-based-on-security-role-of-the-logged-in-user-in-dyn...
I don't think is workable. The User() function is not supported. I try to print out the user email using function Confrim Title, but there are nothing show up.