Activity › Forums › Salesforce® Discussions › What is child relationship name of Account and Contact in Salesforce?
-
What is child relationship name of Account and Contact in Salesforce?
Posted by Ratnakar on January 15, 2018 at 1:03 PMWhat is child relationship name of Account and Contact?
Parul replied 7 years, 8 months ago 4 Members · 3 Replies -
3 Replies
-
Hi Ratnakar,
You can see the Child Relationship Name when you click on the field with master detail / lookup object and there you would see this name which needs to be used for Related List.
You usually access the child records using ‘__r’ attribute. This works for both master-detail and lookup.
Hope this helps you.
- [adinserter block='9']
-
Hi Ratnakar,
The answer to your query is “Contacts“.
The standard relationship between Salesforce objects is named by the Plural name of the object that has the relationship field. If you have defined any custom relation fields, then the relationship would be named by the name of custom field appended with “__r“.Hope this helps.
Thanks,
Subhendu -
Hi Ratnakar,,
Child relationship name is “Contacts“.
Thanks!
Log In to reply.
