Change list layout on CMDB Health Sub metrics on the CMDB Workspace

ayman_h
Kilo Sage
Kilo Sage

Hi,

Does anyone know how add I change the default list layout on the Health Dashboard sub metrics to add new fields to the list view ? You can navigate to it by following the steps below

1) CMDB Workspace > Click on Completeness Health Score

2) Click on a score under the 'Missing required attributes' or 'Missing recommended attributes' tab

 

Screenshot 2025-07-25 at 17.28.09.png

 

Do I need to update it using the UI builder or can it be done outside of it?

 

Regards,

Ayman

 

 

1 ACCEPTED SOLUTION

ayman_h
Kilo Sage
Kilo Sage

After diving into this deeper, I have found the columns are held within the 'Page init' component of the 'Health Dashboard Submetrics' page of the CMDB workspace.

 

Here are the detailed steps

 

  • Change your scope to 'CMDB Workspace' and create an Update set for your changes
  • Navigate to Now Experience > UI Builder

  • Load the CMDB Workspace
  • From the list of pages, load the 'Health Dashboard Submetrics Default' page in the Editor
  • From the left hand navigation, locate the 'Page init' under the Client script section

Screenshot 2025-07-31 at 12.21.18.png

  • On the Client script, locate the code snippet that loads the columns

Screenshot 2025-07-31 at 12.17.08.png

 

  • Update the comma-separated list of columns to include the columns you want. E.g. 'Description' in this case â€ƒ
  • Click on 'Apply' and the Save your page
  • You should now be able to see your changes

View solution in original post

9 REPLIES 9

Cindy Trieu
ServiceNow Employee
ServiceNow Employee

Hi Ayman,

 

Yes that would be how you change the default for every user. Just beware that since you made customizations to this script, you may not receive updates from our store application patches in the future. What I can do on my end is speak with my team to see if we can make this configurable elsewhere without you needing to make changes through UIB.

Thanks @Cindy Trieu , that would be helpful

For people interested, I created an idea for this. Go up vote it if you need this feature.

 

https://support.servicenow.com/ideas?id=view_idea&sysparm_idea_id=ae86d3fa471326d0343d8b69736d4333&s...

@ayman_h by the way, in previous version of the CMDB Workspace (my PDI being on 7.3.5 of the CMDB Worskspace), the columns used to be based on the default sys_ui_list, not hard coded. If you where to change the default layout, it would get reflected in CMDB Workspace.

The columns started to be hard coded in version 7.4.1 from what I can see.

Thanks @EricTherrien_D . That's interesting to hear, not sure why SN moved it to be hardcoded.