Adding a Dashboard Button to the Chrome Toolbar in ServiceNow Configurable Workspace

Ramya V
Kilo Sage

This  provides step-by-step instructions to add a Dashboard button to the side navigation in a Configurable Workspace using the UI Builder.

Prerequisites

Ensure the following before proceeding:

  1. You have an existing workspace built with UI Builder and the Workspace App Shell.
  2. The workspace has at least two pages, including the dashboard you want to add.
  3. You have the ui_builder_admin role.

Steps to Add a Dashboard to the Side Navigation

  • Open Your Workspace in UI Builder:
    • Navigate to All > Now Experience Framework > UI Builder.

RamyaV_11-1733164663584.png

 

    • Open the workspace you want to configure in the UI Builder.
  • Access Experience Settings:
    • In the upper-right corner, click View experience settings.

RamyaV_12-1733164663595.png

 

RamyaV_13-1733164663602.png

 

  • Navigate to Advanced Settings:
    • Click Advanced Settings in the General section.

RamyaV_14-1733164663609.png

 

    • This opens the UX Application Record in a new window.

RamyaV_15-1733164663621.png

 

  • Find Chrome Toolbar Configuration:
    • Scroll down to the UX Page Properties related list and locate the chrome_toolbar property.

RamyaV_16-1733164663631.png

 

    • Open the chrome_toolbar page property.

RamyaV_17-1733164663639.png

 

  • Add the Dashboard Button JSON Code:
    • In the Value field, find the existing JSON configuration.
    • Add the following JSON object to the array (make sure to include a comma if appending to existing entries):

{

  "id": "dashboard",

  "label": {

    "translatable": true,

    "message": "Dashboard"

  },

  "icon": "activity-outline",

  "viewportInfo": {},

  "routeInfo": {

    "route": "dashboards"

  },

  "group": "top",

  "order": 500,

  "badge": {},

  "presence": {},

  "availability": {

    "roles": [

      "sn_customerservice_agent"

    ]

  }

}

  • Save and Refresh:
    • Save the UX Page Property (chrome_toolbar) record.
    • Refresh the instance or clear the cache using cache.do.
  • Verify the Changes:
    • Navigate to Workspaces > CSM/FSM Configurable Workspace.
    • You should see the Dashboard button in the side navigation of the chrome toolbar.

RamyaV_18-1733164663647.png

 

  • Clicking the Dashboard button should open the desired dashboard. Users will see available dashboards based on their access permissions.

RamyaV_20-1733164663654.png

RamyaV_21-1733164725941.png

 

 

0 REPLIES 0