- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2020 02:11 AM
Is there a way to hide Variable editor from RITM form using ACL? I've found a few topics about hiding the variables on the UI side (for example This), but nothing on ACL. I know the Variable editor is a formatter, so the "normal" way doesn't work.
The requirement is to display a few fields for all itil users, but all the rest are only visible if the current user is a part of a group which has been given access. This means that I can't create the ACL's on the table level.
Solved! Go to Solution.
- Labels:
-
Instance Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2020 11:34 PM
Thanks for all your answers. You confirmed what I had already thought.
I went with a different route and modified the "com_glideapp_servicecatalog_veditor" UI Macro with a condition. Now, if the same conditions that are used in the ACL's don't match, the Variable editor won't fetch the Variables to the formatter in the first place.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2020 11:34 PM
Thanks for all your answers. You confirmed what I had already thought.
I went with a different route and modified the "com_glideapp_servicecatalog_veditor" UI Macro with a condition. Now, if the same conditions that are used in the ACL's don't match, the Variable editor won't fetch the Variables to the formatter in the first place.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2020 12:00 AM
Glad that you got the resolution.
Please mark your reply as correct and close the thread so that anyone searching on this will find it easily in future.
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
‎08-12-2020 12:04 AM
Hi,
Check below link,
If my answer helped you in any way, mark answer as helpful and correct.
Thanks and regards,
Megha.