Why custom related list is not gettting linked with Parent record?

Ankita Kolhe
Tera Contributor

Hi Community,

 

I have created custom related list named as Dates & Documents but when creating new record it's not getting linked to its parent record.

 

Relationship for custom related list:

AnkitaKolhe_0-1736486923780.png

 

Also, the parent fields are not populating on child record (client script is in place for this)

AnkitaKolhe_2-1736487147156.png

 

And when saving the Dates & Document record, it's not showing under parent record:

AnkitaKolhe_3-1736487232060.png

 

Could anyone please help  on this?

 

Thanks in advance!

 

 

 

7 REPLIES 7

Ravi Gaurav
Giga Sage
Giga Sage

Hi @Ankita Kolhe 

 

It means that the parent and child records is not correctly configured, or the client script meant to populate the parent fields is not functioning as expected.


Can you share the screenshots of script and custom relation that will help

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

Ankur Bawiskar
Tera Patron
Tera Patron

@Ankita Kolhe 

unless and until records are there in child table relating to parent, the related list won't show anything

Why to create defined relationship?

Your child table already has Parent field in it which refers to Parent so that related list will come OOB

Did you check by Configure related list option?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Hello @Ankur Bawiskar ,

OOB related list is already there but our requirement is to apply column sort on more than one column by default (which is not possible with OOB related list) so that's the reason  a custom related list is required.

 

unless and until records are there in child table relating to parent, the related list won't show anything

I want to create child record directly from parent table through related list which is not working.

 

@Ankita Kolhe 

sorting or ordering by won't work on more than 2 fields even in defined relationship.

Do you have any documentation which says sorting on more than 1 column is not supported on OOB relationship but it works on defined related list?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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