Newer Version Available
force:navigateToSObject
To display the record view, set the record ID on the recordId attribute and fire the event.
The record view contains slides that displays the Chatter feed, the record details,
and related information. This example displays the related information slide of a
record view for the specified record ID.
| Attribute Name | Type | Description | Required? |
|---|---|---|---|
| isredirect | Boolean | Indicates that the new URL should replace the current one in the navigation history. The default is false. | |
| recordId | String | The record ID. | Yes |
| slideDevName | String | Specifies the slide within the record view to display initially.
Valid options are:
|