Types of Relationships

The Force Platform supports two variations of parent-child relationships between objects: lookup relationships and master-detail relationships.

Both types of relationships work like foreign key relationships in a relational database, and produce some of the same effect on the pages for the objects in the relationship.

When you define the relationship between two objects, the Force Platform does a number of things:

  • Creates a field in the child object with an icon that allows users to look up valid values from the parent object. When a user views the child record in a detail page, the Record Name of the parent is shown for the field as a link that takes the user directly to the detail page for the parent record.

  • Creates a ...

Get The Developer’s Guide to the Force.com Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.