- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2022 06:56 AM
Hello, we have one TSC which generates RITMs containing sensitive information. Most of the fields/variables in those RITMs are now hidden with the help of ACLs and catalog UI policy, if users dont have the required role. I'm however struggling with these two things:
1. How do you hide Activities formatter from the form? I was not able to do that neither with ACL nor with cat UI policy
2. What would be the best way to hide UI actions, f.e save and stay, cancel order etc? Is that somehow possible with UI policies or should I change the setup of each UI action, so that they would be excluded from such RITMs?
Thanks in advance.
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2022 07:01 AM
Hi,
for UI actions you can update conditions and add the name of catalog item for which you want to hide
Existing Condition && current.cat_item.name != 'Your Item Name'
to hide activity formatter check this
no direct way but to use onLoad client script and DOM manipulation
Hide Activity and comments in requested item
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
‎03-08-2022 07:01 AM
Hi,
for UI actions you can update conditions and add the name of catalog item for which you want to hide
Existing Condition && current.cat_item.name != 'Your Item Name'
to hide activity formatter check this
no direct way but to use onLoad client script and DOM manipulation
Hide Activity and comments in requested item
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
‎03-09-2022 12:26 AM
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
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
‎03-09-2022 12:50 AM
Hi
I know that the condition is correct, because the test info message is shown to users who dont have the required role, but for some reason Activities is still shown:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2022 12:57 AM