Newer Version Available

This content describes an older version of this product. View Latest

force:recordSave

Saves a record.
force:recordSave is handled by the force:recordEdit component. This examples 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.

This event is handled by the one.app container. It’s supported in Lightning Experience and Salesforce1 only.

Note