How to restrict view based on role?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2022 02:10 AM
I have one view called "Demo_View". I need to restrict this view only to users with Role "Viewers".
I tried adding role to view and adding view rule but it didn't work.
Please help me how can I achieve it. Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2022 05:06 AM
looks fine to me.
How is the user navigating to that table?
which view are they seeing?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2022 05:18 AM
admin is able to see that view. It's not only restricting that role.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2022 02:18 AM
Hi Sowmya,
Can you share your code as anukur asked
Check the below link it may help you
https://community.servicenow.com/community?id=community_question&sys_id=accdac0cdb97d700e0e80b55ca96190d
Thanks
Chandu Telu
Please Mark ✅ Correct/helpful, if applicable,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2022 02:22 AM
The link which you shared is no more. I can see nothing.