I am trying to make specifc fields to be only visible to certain roles on the RITM and Tasks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 01:48 PM
Hello all,
I have developed a catalog item (form) that ALL the fields should be visible to ALL users.
However, once the form is submitted, due to the sensitive nature of some of the fields, I'll like to make those fields ONLY visible to users with specific roles on the RITM and SCTask.
I have used the Read roles on the Variables, which didn't work - it hid those fields everywhere, including from catalog view for those without the roles.
What's my option?
Thank you
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2024 10:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2024 02:51 PM
Hi @Hola Ola - Please follow the below screenshot steps.
1. Create a Catalog UI policy and Uncheck the applies on a Catalog form View.
2. Please refer to the script below as a sample to hide fields based on the logged-in user's roles in the script tab.
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Wahid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2024 05:56 AM
Thanks for the response.
But this thing is not hiding the fields as it should.
Very frustrated now.