Record Save

force:recordSave

Saves the record for the force:recordEdit component.

For Use In

Lightning Experience, Experience Builder Sites, Salesforce Mobile App

This event is handled by the force:recordEdit component. This example shows a force:recordEdit component, which takes in user input to update a record specified by the recordId attribute. The button fires the force:recordSave event.

This client-side controller fires the event to save the record.

We recommend using lightning:inputField for a record edit layout that uses Lightning Data Service and Lightning Design System, and provides error handling out-of-the-box.

This event is handled by the one.app container. It’s supported in Lightning Experience, the Salesforce mobile app, and Aura-based Experience Builder sites.

No specifications to show