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.
<force:recordEdit aura:id="edit" recordId="a02D0000006V8Ni"/>
<ui:button label="Save" press="{!c.save}"/>

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

save : function(component, event, helper) {
    component.find("edit").get("e.recordSave").fire();
    // Update the component
    helper.getRecords(component);	
}
Note

Note

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