Hide "Problems" and "Changes" applications from the menu of Service Operations Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2024 02:43 AM
Hello,
Since we don't use yet problem and change processes in our instance, is there a possibility to hide applications "Problems" and "Changes" from the menu of Service Operations Workspace ?
We want also to remove "New change request" from here also :
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2024 03:01 AM
hi @WA1 ,
Please go to the UX List Categories [ sys_ux_list_category]
1. Open the Problem for Service Operations Workspace [you can see configuration will be Default - SOW]
2. repeat same for Change
3. for hide "New change request"
type Experiences > then it will landed in UX Applications
then open tile with "Service Operations Workspace"
then UX Page Properties related list open "chrome_tab"
then edit JSON
Please mark helpful & correct answer if it's really worthy for you.
Thanks,
BK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2024 03:14 AM
Hi @Bhavya11, thank you for your explanation, but if I make these customizations will I still benefit from the upgrades of ServiceNow to the Service Operations Workspace ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2024 03:50 AM
hi @WA1
You might not receive immediate updates for this feature, but you can address it during the upgrade process. Any issues should become evident during testing, giving you sufficient time to make adjustments as needed.
Please mark correct answer if it's really worthy for you.
Thanks,
BK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2024 03:04 AM
Hi @WA1
You could use role based permission system or UI policy or client script to control the visibility.
If you have large number of users and need to automate the role removal process:
Script Include:
var HideProblemAndChangeMenus = Class.create();
HideProblemAndChangeMenus.prototype = {
initialize: function() {},
removeRoles: function() {
var userGR = new GlideRecord('sys_user');
userGR.query();
while (userGR.next()) {
// Remove roles for Problem application
this._removeRole(userGR.sys_id, 'problem_manager');
// Remove roles for Change application
this._removeRole(userGR.sys_id, 'change_manager');
}
},
_removeRole: function(userID, roleName) {
var userRoleGR = new GlideRecord('sys_user_has_role');
userRoleGR.addQuery('user', userID);
userRoleGR.addQuery('role.name', roleName);
userRoleGR.query();
while (userRoleGR.next()) {
userRoleGR.deleteRecord();
}
},
type: 'HideProblemAndChangeMenus'
};
*************************************************************************************************************
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
Shaqeel
***********************************************************************************************************************
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
Shaqeel