Forum Discussion

Prabha45's avatar
Prabha45
Helper III
2 years ago
Solved

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.

3 Replies

  • 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:

     

     

     

    • parkergeis's avatar
      parkergeis
      Helper II

      It seems the URL fx must be a field value, so a measure will not work. Do you find this true as well?