Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to add "view name" in the JSON of "chrome_tab" workspace UX page property in UI builder?

Swathi Poseti
Tera Contributor

How can we add view name to the JSON of "chrome_tab" workspace UX page property in UI builder used for + symbol on workspace?

{
      "label": {
        "translatable": true,
        "message": "New Incident"
      },
      "routeInfo": {
        "route": "record",
        "fields": {
          "table": "incident",
          "sysId": "-1"
        },
        "multiInstField": "sysId"
      }
}

3 REPLIES 3

Brad Tilton
ServiceNow Employee
ServiceNow Employee

You can pass required parameters as fields and optional parameters in the route, but I don't think the record page by default has a parameter for the view. You may need to stup a view rule or create a different record, but I would first take a look at the record page and see if there's a way to set the view on it through the url.

Shubham Gagneja
Tera Guru

Hey! Were you able to get this done? I am looking for the same solution. 

 

paprockaann
Tera Contributor

{
      "label": {
        "translatable": true,
        "message": "New Incident"
      },
      "routeInfo": {
        "route": "record",
        "fields": {
          "table": "incident",
          "sysId": "-1"
        },

       "params": {
                "views": "view_name"
        },
        "multiInstField": "sysId"
      }
}
Depending on page you are using:

paprockaann_0-1755521054605.png