Related list Lightning components
Key Takeaway
Related Lists and Related List–Single get their lists, columns, sort order and actions from the page layout editor. You set up a Dynamic Related List–Single inside the Lightning App Builder, including filters for its records.
Related lists show the records linked to the record a user is viewing, such as the opportunities on an account. In Lightning Experience, related lists are Lightning components that you place on record pages with the Lightning App Builder. Salesforce offers several of them. Some copy the related lists from the page layout, and the Dynamic Related List–Single component lets you set up the whole list inside the Lightning App Builder.
Related list components on record pages
Unlike a page layout, a Lightning record page lets you put related lists anywhere on the page. The Lightning App Builder can customize only Lightning record pages, so use the page layout editor for Salesforce Classic record pages.
The components in this table all work on record pages only.
| Component | What it adds to the page | Where the lists come from |
|---|---|---|
| Related Lists | All related lists for a record | The user's page layout, so make sure that layout includes the lists you want |
| Related List–Single | One related list, for the page's own record or, optionally, for the parent record | The list must be on your users' page layout. For a parent record, it must be on the parent record's page layout. |
| Dynamic Related List–Single | One related list | The Lightning App Builder, where you choose the related list |
| Related List Quick Links | A set of links instead of full lists | The related lists on the object's page layout, plus each user's own preferences |