Workspace Chrome Tab to External URL

Sarah McLaughli
Tera Contributor

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! 

10 REPLIES 10

PratikC
Tera Contributor

You can use the following in the change request part and can use any url of your choosing, should work 

"routeInfo": {
				"route": "",
				"fields": {},
				"multiInstField": "",
                                "external":{
                                        "url":"/new_change_redirect.do?sn_new_chg_origin=module"
                                }
			},

 Please mark as helpful