Restrict users from creating reports in Classic UI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2025 09:56 PM
Hi All,
We have created the ACL to restrict users from creating reports in Classic UI. But we have to allow them to create a report in Platform Analytics Workspace.
Is there any way, we can create anything which is applicable to restrict in Classic UI but should not restrict in Platform Analytics Workspace.
Thanks..!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2025 10:03 PM
Yes, it is possible to restrict report creation in the Classic UI while allowing it in the Platform Analytics Workspace. Create an ACL on the sys_report table with a script that checks the context, such as gs.getSession().getClientData('glide.ui.context'), to allow only Platform Analytics Workspace actions. Alternatively, assign scoped roles specifically for the workspace and restrict Classic UI access with general ACLs. Use the Debug ACLs tool to test and validate the setup.
Example Script for ACL Condition:
if (gs.getSession().getClientData('glide.ui.context') === 'platform_analytics_workspace') {
// Allow action in Platform Analytics Workspace
answer = true;
} else {
// Restrict action in Classic UI
answer = false;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2025 11:11 PM
what do you mean by classic UI? Please share screenshots.
you can hide the left nav module for Reporting
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2025 12:15 AM
If I'm not mistaken, the classic UI for reports is no longer available in the Xanadu release. Instead of creating technical debt, you can educate the users on the new approach.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2025 01:58 AM
Hi @Dr Atul G- LNG ,
Thanks for your inputs.
I tried this in my PDI. I upgraded my instance to Xanadu version.
Opened Migration center, migrated all reports and dashboards to Platform Analytics.
Searched for Reports and Dashboards in Filter Navigator.
For Reports>> View/Run >> It went to data visualization (worked as expected)
For dashboards>> It went to dashboards in PA (worked as expected)
However, when I searched 'report' and clicked on 'Create New' it went to core UI view.
Any thoughts, why did this happen?
Thank you.