Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Related list field on List control context menu form

AirSquire
Tera Guru

On the list control form, there is a OOB Related list field. It shows two values:

1. In the form of [REL:<some_sys_id>]

2. In the form of [tablename.fieldname]

What is the difference in them?

1 ACCEPTED SOLUTION

Kamal17
Kilo Sage

Hi Dhruv,



tablename.fieldname - This denotes there is already a relationship present between the parent table and related list. i.e a field in the related list table refers to the parent table Eg: 'Roles' table has a field 'User' which refers to 'sys_user' table.



REL:<some_sys_id> - This denotes a custom created relationship between parent table and related list table. This is done in cases of absence of a common field which relates parent table and related list table. Such relationships are created using 'System Definition > Relationships'.


Eg: 'Subscription' related list in a User form view.



You may refer the link http://wiki.servicenow.com/index.php?title=Creating_Defined_Related_Lists#gsc.tab=0



-Udhay


Please Hit like, Helpful or Correct depending on the impact of the response. Thanks!


View solution in original post

1 REPLY 1

Kamal17
Kilo Sage

Hi Dhruv,



tablename.fieldname - This denotes there is already a relationship present between the parent table and related list. i.e a field in the related list table refers to the parent table Eg: 'Roles' table has a field 'User' which refers to 'sys_user' table.



REL:<some_sys_id> - This denotes a custom created relationship between parent table and related list table. This is done in cases of absence of a common field which relates parent table and related list table. Such relationships are created using 'System Definition > Relationships'.


Eg: 'Subscription' related list in a User form view.



You may refer the link http://wiki.servicenow.com/index.php?title=Creating_Defined_Related_Lists#gsc.tab=0



-Udhay


Please Hit like, Helpful or Correct depending on the impact of the response. Thanks!