Restrict export directly from URL for JSON and XML
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2022 09:14 AM
I am able to Restrict export directly from URL for CSV, Excel and PDF formats using processor ACL's as described in this article:
https://community.servicenow.com/community?id=community_question&sys_id=8daefa65db58dbc01dcaf3231f961973&view_source=searchResult
For some reason, the processor ACL's on XMLOutputProcessor and JSONOutputProcessor are not working. Both ACLs restrict access based on a role, but someone without that role can still export to JSON and XML directly from a URL.
- Labels:
-
Instance Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2022 11:12 PM
Hi,
1. you can try on context menus (table- sys_ui_context_menu). open this table and refer below
2. Open the XML record as shown above list and on condition field give condition like below
gs.getUser().hasRoleExactly('itil')
Hope it helps!!
Please Mark ✅ Correct/helpful, if applicable, Thanks!!
Regards
Pavankumar
ServiceNow Community MVP 2024.
Thanks,
Pavankumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2022 05:51 AM
Hi Pavan, The solution you provided restricts export from the context menu, not from a URL. Thanks anyway. Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2022 04:50 AM
Could you post the URL?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2022 05:54 AM
Hi Janos, What URL are you looking for? The URL to the community article I'm following was in my original post. I've copied it to here as well: https://community.servicenow.com/community?id=community_question&sys_id=8daefa65db58dbc01dcaf3231f961973&view_source=searchResult
Thanks, Eric