Workspace Chrome Tab to External URL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2024 01:23 PM - edited 02-12-2024 01:33 PM
Utilizing the chrome_tab from the Service Operations Workspace, we want to route to the Change Wizard in the platform.
This is what we have where the link should return back to the Platform UI:
{
"contextual": ["record", "kb_view"],
"newTabMenu": [
{
"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": "Create Change in Platform"
},
"routeInfo": {
"route": "<some way to link to /wizard_view.do?sys_target=&sysparm_wizardAction=sysverb_new&sysparm_parent=8db4a378c611227401b96457a060e0f4&sysparm_stack=change_request_list.do>",
"fields": {},
"multiInstField": ""
},
"condition": {
"tableDescription": {
"table": "change_request",
"canCreate": true
}
}
}
],
"maxMainTabLimit": 10,
"maxTotalSubTabLimit": 30
}
Here is a reference to the Chrome Tab docs with only information of routing to records and no details on external links: https://docs.servicenow.com/bundle/vancouver-it-service-management/page/product/service-operations-w...
I've also looked at the overall community post for chrome_tab without any luck: https://www.servicenow.com/community/next-experience-articles/workspace-app-shell-ux-page-properties...
Any help on this would be greatly appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 07:12 AM
Hi,
As per my understanding, you are trying to open a classic UI URL from the workspace -> chrome tab, which may not be possible as the route prop in the chrome tab JSON expects a page URL(route) available in the same workspace.
So there are two things you may consider
1. You may create a declarative action of type client script and navigate to platform UI using that or
2. Create the similar wizard experience in the workspace and provide the route for the newly created wizard
Please mark it helpful, if it answers your query.
Thanks,
Haseeb Ahmed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 01:31 PM - edited 02-12-2024 01:33 PM
Hi Haseeb, we already have that functionality. We're trying to find a way to utilize the chrome_tab in workspace (+) on the tab to redirect to the platform.
The chrome_tab can be found in the Now Experience Framework > Experiences where within the Service Operations Workspace link, you can find the chrome_tab under the UX Page Properties.
We want to replace the Create Change to just redirect to the Change Wizard in the platform.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2024 02:07 AM
HI @Sarah McLaughli @R_52
did you got the solution i have the same case to add problem in chrome tabs but if i do any changes in the script entire workspace is effecting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 02:01 AM
hi @Sarah McLaughli DId you got the solution to this.. I have a similar kind of requirement. Please share with me if you have found it.