Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

Related list should show fields based on Views

rBh
Tera Contributor

Hello Team,

 

We have a custom table called ITDR, which currently contains 6–7 child custom tables added as embedded lists in the PPM tool.

 

(Due to custom table licensing restrictions, our client has asked us to reduce the number of custom tables. To address this, we have merged the child tables into a single custom table by introducing a Type field that identifies the original table. Based on the selected Type, we dynamically display the relevant fields on the form)

 

However, we are facing a challenge with the embedded lists. Previously, each child table had its own embedded list with a dedicated set of columns for users to enter information. Now that all the child tables have been merged into a single table, all embedded lists point to the same table.

Is there a way in ServiceNow to configure different views or column layouts for each embedded list (or related list) even though they all reference the same underlying table? In other words, can each embedded list display a different set of columns based on the corresponding Type?

Any suggestions or best practices would be greatly appreciated.

 

rBh_0-1783347025875.png

 

rBh_1-1783347364361.pngrBh_2-1783347414310.png

 

In servicenow please refer below screenshot

 

rBh_3-1783347708327.png

 

Thanks,

Bhavana

 

 

 

 

 

1 ACCEPTED SOLUTION

@rBh 

you can have multiple related lists but each will have same child table

There also you can't set the list view dynamically based on parent field i.e. Type

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

7 REPLIES 7

rBh
Tera Contributor

Would using a related list instead of an embedded list help us achieve this functionality?

@rBh 

you can have multiple related lists but each will have same child table

There also you can't set the list view dynamically based on parent field i.e. Type

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

rBh
Tera Contributor

Hi Ankur,

 

For each embedded list we can configure List layout and add the respective fields for each custom table. In that way we dont need to create any views and even i forgot this simple solution.

 

Thanks,

Bhavana