
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 04-29-2023 10:32 AM
Recently, I came across an interesting question where the questioner wanted to hide a menu item in top menu bar in the Next Experience UI (Polaris).
Problem Statement:
User wanted to hide Workspace menu item in the menu bar.
First thing first, the menu we are referring to is called Unified Navigation Menu.
Here is the list view which appears when you click on Unified Navigation Menu option.
Initially, it appears quite an easy task to simply deactivate this menu item by setting the Menu Active field to false.
However, the assumption falls flat on its face when we try to change edit this record despite having an Admin role.
Up on checking the ACL, I found this one.
By checking the Admin override record and saving the ACL, I was under the impression that now the menu item can be deactivated.
Indeed, the record was editable, however the moment I hit save, this error appears.
There is business rule in place which is not letting me update an existing menu item. Simply deactivate this BR by unchecking the Active checkbox and saving the business rule.
Now finally you should be able to deactivate this Workspace menu item.
This is how the menu looks before deactivating the Workspace Menu
This is how it looks after deactivating the Workspace menu.
Caution: There must be a solid reason why ServiceNow doesn't want Admins to deactivate the Unified Menu options. Hence have extreme caution while applying this solution.
Note: Due to cacheing you might still see the workspace menu item in the menu bar, simply chose to impersonate with another user and end the impersonation. This time the Workspace menu item will not be there.
Hope this helps.
- 3,826 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Thanks!
This KB from SN says to delete it entirely. Good to know we have different options.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
There is a much simpler way of doing this. If you have the SN Utils plugin installed, you don't have to muck around with any of that, even if you want to disable the Admin unified menu, which is locked away in a scope we're not meant to be able to edit.
When you load the record, SN Utils will have a blurb advising 'click here' to edit the record. Click the button, disable it, and you're done.