Make Variables on a catalog item visible and editable for certain group members and only Visible but not editable to others.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2022 09:28 PM
Hi All,
I was given a task to create a variable in a variable set of a catalog item and one of the requirements is that variable should be only visible and editable to a certain group members (which includes members of a particular group and members of org level 3) and only visible but not editable to others. I need to achieve this through scripting and not through an SLA. Can anyone help as to how I can achieve this? I'm still new to this so I'm not really sure how this should work.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2022 09:36 PM
Hi,
you can use onLoad client script + GlideAjax
Check logged in user is member of that group or not
Based on that make it editable or visible
Please start from your side and it would be learning for you as well.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2022 09:47 PM
Hi,
I guess you have opened another question for this requirement.
Please check the corrected scripts posted on above link.
Note: Please avoid creating duplicate questions if you are getting response on one thread.
Thanks,
Anil Lande
Thanks
Anil Lande