Sometimes there is requirements from the user that “This button should only be accessible by certain type of user roles” when the button is open a page or microflow we can configure the respective security for that page , microflow or entity. But if he want to open a link like “mendix.com” via click of a button and it should be accessible to certain user roles then I m getting confused how to do that , Can you please Help
Put the link in a container and set the conditional visibility on the container.
For navigation button
- Make that navigation button call a page (here you can restrict the user with user roles)
- From that page, you can have URL redirector to do the job. Ofcourse this option might show a blank page for few seconds. May be you can decorate that page to show some redirection message which is easy
instead of directly calling a link, call a nanoflow, with activity open URL. Configure the required accessrights on the nanoflow.