Link related records together
By the end of this guide, you will have two Object Types connected. When you open a record in one, you will see its related records from the other.
What you'll need before you start
- Two existing Object Types you want to connect. For this guide: Contacts and Jobs.
- Administrator access.
Plan before you build. Decide which object is the "parent" and which is the "child." In this example, a Contact has many Jobs, so Contact is the parent and Job is the child. The relationship field goes on the child.
Step 1: Open the child Object Type
- Go to Settings → Object Types.
- Click the child Object Type. In this example: Jobs.
Step 2: Add the Relationship field
- Click Add Field.
- Choose Relationships from the field type list.
- Select the relationship type. Choose Has One: Contact (each Job belongs to one Contact).
- Give the field a label. For example:
Customer. - Click Save.
Step 3: Update the Job detail layout
The relationship field needs to appear on the screen where your team edits jobs.
- In the Jobs Object Type, click Edit next to your Item layout.
- Click Add Block and select Field.
- Choose the Customer relationship field.
- Click Save.
Your team can now open a Job and pick which Contact it belongs to from a dropdown.
Step 4: Show related jobs on the Contact detail screen
Now go the other direction, show all Jobs for a Contact on the Contact detail screen.
- Go to Settings → Object Types → Contacts.
- Click Edit next to the Contact Item layout.
- Click Add Block.
- Choose Subview from the block type list.
- Select Jobs as the object type to display.
- Choose which fields to show in the subview (for example: job name, status, date).
- Click Save.
Step 5: Test it
- Open a Job record and assign it to a Contact.
- Open that Contact. You should see the Job appear in the Jobs subview at the bottom.
What to do next
- Build a "My Tasks" view for your team, use this same pattern to show each team member's assigned records
- Build a filtered list view, filter your Jobs list by customer or status