No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
Salesforce1 Events
Lightning components interact
with Salesforce1 via events.
You can fire the following events, which are automatically handled by Salesforce1. If you fire these events in your Lightning apps or components outside of Salesforce1, you must handle them as necessary.
| Attribute Name | Description |
|---|---|
| force:createRecord | Opens the page to create a new record for the specified entityApiName, for example, “Account” or “myNamespace__MyObject__c”. |
| force:editRecord | Opens the page to edit the record specified by recordId. |
| force:navigateToList | Navigates to the list view specified by listViewId. |
| force:navigateToObjectHome | Navigates to the object home specified by the scope attribute. |
| force:navigateToRelatedList | Navigates to the related list specified by parentRecordId. |
| force:navigateToSObject | Navigates to an sObject record specified by recordId. |
| force:navigateToURL | Navigates to the specified URL. |
| force:recordSave | Saves a record. |
| force:recordSaveSuccess | Indicates that the record has been successfully saved. |
| force:refreshView | Reloads the view. |
| force:showToast | Displays a message in a popup. |
For more information on these events, see Events Reference.