How Related Lists Work
Below, you can see that the contact record ‘Richard Hall’ has a field called ‘Company Name’ where we have referenced our ‘Cloud City Partners’ company record. Then, on our company record, there is a list of all the contacts who are referencing it via that ‘Company Name’ field. On the contact record the ‘Company Name’ field is called a lookup or reference field because it “looks up” a single specific relevant record. A lookup field on one record creates a related list on another.
The related list section of a record is found on its related tab. Related lists show lists of records related to the record being viewed. Those lists are grouped by object. For every related list there is a corresponding lookup field.
Taking a closer look at a related list
Every related list contains records from only one other object, but it can show all of the types of records for that object. As an example, a ‘Contacts’ related list can only show contact records, but it can show contacts of the record types Principal, Broker, Attorney or anything else, all within the same list.
In Lightning, each list shows up to 4 pieces of information from its related records. In the case of a related list for contacts we see each contact's Name, Title, Email, and Phone by default. You can change this if you choose.
How to change the information shown in a related list
- Navigate to your record and select the Related tab. Click the gear near the top right of the page and select Edit Page.
- Click anywhere within the related list section on the sample page shown. A blue box will hover over this portion of the page.
- On the right side navigation, click on the Layout that is listed as “(previewed)”. This will open up a new tab in your browser, which you will close when changes have been completed.
Here’s an example of steps 2 and 3:
- In the layout menu, click Related Lists.
- Click the wrench icon on the tab of the Related List you want to update.
- Use the add and remove buttons to update the Selected Fields.
- Press the OK button and then the Save button in the layout menu.
Here’s Steps 4 through 7:
- Close this tab and return to the original tab where you clicked the (previewed) layout in step 3.
- Click Back near the top right corner.
Company Related Lists
Here are the related lists you may find by default on any given company record.
- Description: A list of contacts related to the company
- Object being viewed: Contacts
- Corresponding field information: The ‘Company Name’ field on the contact record
- Fields available by default: Name, Title, Email, Phone
- Description: A list of properties said to be owned by the company.
- Object being viewed: Ownership
- Corresponding field information: The ‘Company’ field on the ownership record
- Fields available by default: Property, Property SF, City, State
- Description: A list of properties with deals, sales and leases, where the company is the tenant or owner.
- Object being viewed: Closed Deals
- Corresponding field information: The ‘Buyer Company’ field or the ‘Tenant Company’ field on the closed deal record
- Fields available by default: Closed Deal Name, Property Leased, Square Footage, Lease Expiration Data
- Description: A list of pursuits the company has been involved with
- Object being viewed: Pursuits
- Corresponding field information: The ‘Client Company’ field on the pursuit record
- Fields available by default: Pursuit Name, Record Type, Status, Probability
Listing & Assignments [Or Listings or Assignments]
- Description: A list of listings and/or assignments the company is related to
- Object being viewed: Listings and/or Assignments
- Corresponding field information: The ‘Client Company’ field on the Listing/Assignment record
- Fields available by default: Listing/Assignment Name, Client Contact, Record Type, Expiration Date
- Description: A list of closed deals related to the company
- Object being viewed: Deal Party
- Corresponding field information: The ‘Company’ field on a Deal Party record which also references a closed deal
- Fields available by default: Contact, Role, In Contract, Closed Deal