Overview
Beyond basic record and page navigation, Lightning Web Components support advanced navigation patterns for list views, related lists, and other specialized use cases.Navigate to List View
Navigate to an object’s list view with optional filtering.The
filterName in the state object specifies which list view to display. Common values include:Recent- Recently viewed recordsAllContacts- All contacts (or similar for other objects)- Custom list view API names
Navigate to Related List
Navigate to a related list on a record’s detail page.PageReference Types for Utilities
standard__objectPage (list view)
Navigate to filtered object list views.Must be
standard__objectPageThe API name of the object (e.g., ‘Contact’, ‘Account’)
Must be
list for list viewsThe API name of the list view filter (e.g., ‘Recent’, ‘AllContacts’)
standard__recordRelationshipPage
Navigate to related lists on record pages.Must be
standard__recordRelationshipPageThe ID of the parent record
The API name of the parent object
The API name of the relationship (e.g., ‘Contacts’, ‘Opportunities’)
Usually
view for viewing the related listAdvanced Patterns
Dynamic List View Selection
Allow users to select which list view to navigate to:Navigate to Related List with Context
Navigate to a related list and preserve context:Common Use Cases
Filtered Views
Navigate to pre-filtered list views for specific user workflows
Related Record Exploration
Jump directly to related lists to explore record relationships
Custom Navigation Menus
Build custom navigation experiences with multiple list view options
Contextual Actions
Provide quick access to related data from custom components
Finding Relationship API Names
To find the correctrelationshipApiName for a related list:
- Navigate to Setup > Object Manager
- Select the parent object (e.g., Account)
- Go to Fields & Relationships
- Find the relationship field
- Use the Child Relationship Name value
Summary Table
| Navigation Target | Type | Key Attributes |
|---|---|---|
| Object List View | standard__objectPage | actionName: 'list', state.filterName |
| Related List | standard__recordRelationshipPage | recordId, relationshipApiName |
Complete Example: Multi-Option Navigator
Related Examples
- Navigate to Records - View and edit individual records
- Navigate to Pages - Navigate to standard Salesforce pages
