Disable button if user can't use it
Hello!
So I have a button that I would like to disable when a specific user doesn't have runtime permission to the service linked to that button. How can I do it?
Hello!
So I have a button that I would like to disable when a specific user doesn't have runtime permission to the service linked to that button. How can I do it?
The Button only receives true and false to enable and disable it's function, so you need to define the logic which user can use them.
If you can use Validator language to realize the logic, you can use the validator command, if not, you can create a js service and add it to your data source.
It may look like : return Resources["CurrentSessionInfo"].GetCurrentUser() in ['Abby','Bob','Chandler','Ella']; and it gives out a true or false result.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.