Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Ravi Vakkalanka
97
Views
4
Comments
Assign a user role to button or link
Question
Hello
Is it possible to assign a User Role to a button or link in screen in Service Studion V 7.0 ? I know that we can assign a user role to a screen as a whole but I need to assign User Roles to screen specific elements.
Pls let me know.
Thanks & regards
Ravi
Nikhil Shravage
Hello Ravi,
What I usually do that is when I need to assign certain specific roles to any screen elements, I enclose those elements in a 'If' block and then assign the roles as the 'If' condition.
Hope you got it. Do let me know if it works.
Cheers,
Nikhil Shravage.
Ravi Vakkalanka
Thanks a lot Nikhil for your reply. I am just wondering it there is any better/easier way than this ?
Thanks & regards
Ravi
Tiago Martins
Hi Ravi,
Have you tried using the
Check<
roleName
>Role(UserId:)
functions on the
Visible
or
Enabled
properties of your elements, depending on what you need?
Best regards,
Ravi Vakkalanka
I tried your option and it works perfectly.
Thanks & regards
Ravi
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...