No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
force:navigateToList
To navigate to a list view, set the list view ID on the listViewId attribute and fire the event. This example displays the list views for contacts.
This Apex controller returns all list views for the contact object.
You can also provide a single list view ID by providing the list view name you want to navigate to in the SOQL query.
| Attribute Name | Type | Description |
|---|---|---|
| listViewId | String | Required. The ID of the list view to be displayed. |
| listViewName | String | Specifies the name for the list view and doesn’t need to match the actual name. To use the actual name that’s saved for the list view, set listViewName to null. |
| scope | String | The name of the sObject in the view, for example, “Account” or “namespace__MyObject__c”. |