How to change view based on role of user?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2018 04:02 AM
Suppose there are two roles, roleA and roleB. There are few users present in each of the role.
When user of roleA visits incident form, he should be able to see viewA and similarly when user of roleB visits incident form, he should be able to see viewB.
Please help me to know, how can I achieve above scenario?
- Labels:
-
Best Practices
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2018 02:22 AM
Hi Priyanka,
No it didn't work, still it is showing ess view for the user.
Regards,
Sindhu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2018 05:46 AM
Hi sindhu21,
Okay, for that you have to delete the incident module from "Self Service View".
Navigate - System UI - View- Self Service - Form Sections - incident - delete
Please mark it correct or helpful, if it works based on impact....!!!
Warm Regards,
Priyanka
www.dxsherpa.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2018 06:04 AM
I have set the property 'glide.ui.remember_view' to false, then code started working as expected.