Forum Discussion
Prabha45
2 years agoHelper III
Enable/Disable button based on user login
Hi
I had a button in my report which redirects to a Web URL. I need this button to be enable for only 5 users which takes them to the web page and others should not go to the web page when they click on the button.
Thanks in Advance.
Prabha45 try this, add a measure for the URL Link and then use that in the action of the button:
URL Link = IF ( USERPRINCIPALNAME() IN { "[email protected]", "[email protected]" }, "www.google.com" )Click fx and then use the above measure:
3 Replies
- parry2kSuper User
Prabha45 try this, add a measure for the URL Link and then use that in the action of the button:
URL Link = IF ( USERPRINCIPALNAME() IN { "[email protected]", "[email protected]" }, "www.google.com" )Click fx and then use the above measure:
- Prabha45Helper III
Thank you very much, it worked.
- parkergeisHelper II
It seems the URL fx must be a field value, so a measure will not work. Do you find this true as well?