Specify list layout of Related List in Classic UI

jMarshal
Mega Sage
Mega Sage

Hi all - does anyone know how I can customize the default visible/available columns (list layout) of a related list (tabs at bottom of a record) on a custom table in the Classic UI? 

The custom table has user data records and the related list shows catalog items for where the user is "requested for" and I have set up the related list as a Relationship and have results filtered via the "Query with" script.

This is all working great, but I would like to customize the columns of the related list and I'm really struggling to see how/where I do this. I have found great resources and instructions for configuring the list layout for Workspaces and reference field pop-ups...but nothing on related lists specifically. Right now it's showing the Default View list layout and I would prefer to not change the list layout on the entire sc_req_item table.

Right now, my best option is an accompanying KB article that describes to the end user (fulfiller) how to configure/customize the list layout of the related list themselves (via the gear cog icon)...but I would prefer it to have a nice "default" for their purpose as the user data record for this custom app does not concern most of the details of the catalog items which are contained in this list...but some of the information is important and this related list is intended to serve as a "quick visual reference" to that information, for the fulfillers using this app.

I've tried to follow the directions for configuring the layout/view of reference field popups - by way of the "Related Lists" tab on the UI Views record for "sys_ref_list"...but its not very intuitive and I'm fumbling around there with no success - I added "sc_req_item" on that tab (see below)...but the record which I created seems to be a way for me to add a related list to a reference list popup, rather than the layout/view of a related list itself...I feel like I'm "barking up the wrong tree".

jMarshal_0-1700755915491.png


Can someone please point me in the right direction?! Thanks in advance for any/all input!

1 ACCEPTED SOLUTION

Brad Bowman
Kilo Patron
Kilo Patron

To change the columns displayed in the Related List for all users, just right-click the column header and choose Configure > List Layout like any list view.  If you view a list of the table you'll still see the old layout as changing a Related List layout in this way does not affect the table list view.

View solution in original post

9 REPLIES 9

I'm not able to see the list layout option in related list header.

Can you help ?

You need to have the admin role to see this option.

I do have but still I don't see that option. May be we have to edit it in table sys_ui_list

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @jMarshal 

 

https://developer.servicenow.com/dev.do#!/learn/courses/sandiego/app_store_learnv2_learnmore_sandieg...

 

https://docs.servicenow.com/bundle/vancouver-platform-administration/page/administer/list-administra...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Varshini_Kasula
Tera Contributor

To change the columns displayed in the Related List for all users, just right-click the column header and choose Configure > List Layout like any list view. 

Create a new view with the name sys_ref_list. This will be identified as the Reference List view.

Add or remove the fields as needed.

 How to Configure the List Layout for a Reference Field (Reference List)