Modify default list view table

Bradley Marin
Giga Guru

Does anyone know of a way to modify the default table populating the list view on the Service Operations Workspace? Out of box it pulls from incident, however, we would like to have it pull from Universal Request's instead. I have not seen anything in any of the scripts that shows how it can be modified. I also haven't seen any documentation on it. 

1 ACCEPTED SOLUTION

Ubash
Tera Expert

Hi Bradley Marin

The below steps will help you.

1. Select the Widget Data Grid in the UI builder

Ubash_0-1697610503370.png

 

2.  Navigate to the Client State and edit the table name or what you want in the JSON data against currentVizSelection .

Ubash_1-1697610751594.png

 

 

 

View solution in original post

6 REPLIES 6

Gaurav Jain
ServiceNow Employee
ServiceNow Employee

Please check out the "Add a data visualization donut component for the landing page" section at the following link -> here.

I looked at that PDF but didn't see what I was looking for. I am not talking about the donut visualization. Rather,  I want to change the default table the list below the donuts pulls from upon initial load of the workspace. Currently, it pulls from incidents, however I would like to change that to Universal Requests, for example.

Hi @Bradley Marin ,

There are two ways to achieve this

1. As @Gaurav Jain mentioned, you may follow the document to change the table for the first donut(currently sourced on the incident table), which will automatically change the source table for both List/Grid view. on page load/click of the first donut/click of view all, you will see your custom table data in List/grid view.

2. If you just want to change the table for list, you may create a variant of the "Overview" viewport page and can change the table for the list component - refer screenshot

Haseeb4_0-1695658659200.png

 

 

Hi @Haseeb-Ahmed  

Unfortunately I've still been unable to get this to work. I followed the steps in the doc that @Gaurav Jain mentioned and the page still defaults to loading incidents into the second level cards/list view. 

Have either of you @Haseeb-Ahmed  / @Gaurav Jain been able to get this to work?