- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 02:14 AM
Hi all,
We're in the midst of moving away from Agent Workspace and over to Service Operations Workspace. One of the tasks I need to do is update the New Tab UI Action (the +) to allow for a New Problem record to be opened.
I've found where I need to be to edit this. Now Experience Framework > Experiences > Service Operations Workspace > Chrome tab.
I've tried to update the JSON copying what's in place for the other three options, however when I save this it breaks the workspace (the purple menu disappears completely, as below). So clearly I'm not doing something right!
Here's the JSON I'm using. Anyone tried implementing a Problem option before?
{
"contextual": [
"record",
"kb_view"
],
"newTabMenu": [
{
"label": {
"translatable": true,
"message": "New Interaction"
},
"routeInfo": {
"route": "record",
"fields": {
"table": "interaction",
"sysId": "-1"
},
"multiInstField": "sysId"
},
"condition": {
"tableDescription": {
"table": "interaction",
"canCreate": true
}
}
},
{
"label": {
"translatable": true,
"message": "New Incident"
},
"routeInfo": {
"route": "record",
"fields": {
"table": "incident",
"sysId": "-1"
},
"multiInstField": "sysId"
},
"condition": {
"tableDescription": {
"table": "incident",
"canCreate": true
}
}
},
{
"label": {
"translatable": true,
"message": "New Change Request"
},
"routeInfo": {
"route": "create-change-request-page",
"fields": {},
"multiInstField": ""
},
"condition": {
"tableDescription": {
"table": "change_request",
"canCreate": true
}
}
}
],
{
"label": {
"translatable": true,
"message": "New Problem"
},
"routeInfo": {
"route": "record",
"fields": {
"table": "problem",
"sysId": "-1"
},
"multiInstField": "sysId"
},
"condition": {
"tableDescription": {
"table": "problem",
"canCreate": true
}
}
},
"maxMainTabLimit": 10,
"maxTotalSubTabLimit": 30
}
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 05:10 AM
I think you need to keep your problem json definitions ( label, routeinfo, condition ) within the array [ ], check how interaction, incident and change definitions are kept within the array [ ] = > [ { }, { } ,{ } ],
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 02:36 AM
where is this record?
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
02-13-2025 02:47 AM
Hi Ankur,
You can find it here.
https://<yourinstance>.service-now.com/now/nav/ui/classic/params/target/sys_ux_page_property.do%3Fsys_id%3Ddf0c9cb97340301045216238edf6a785%26sysparm_record_target%3Dsys_ux_page_property%26sysparm_record_row%3D8%26sysparm_record_rows%3D24%26sysparm_record_list%3Dpage%253Daa881cad73c4301045216238edf6a716%255EORDERBYname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 05:10 AM
I think you need to keep your problem json definitions ( label, routeinfo, condition ) within the array [ ], check how interaction, incident and change definitions are kept within the array [ ] = > [ { }, { } ,{ } ],
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2025 05:44 AM
Thank you Dharma, and well spotted!
I just had to move the ], down to include my addition to the JSON.