force:recordSaveSuccess

Indicates that the record has been successfully saved.
force:recordSaveSuccess is used with 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.
<aura:attribute name="recordId" type="String" default="a02D0000006V8Ni"/>
<aura:attribute name="saveState" type="String" default="UNSAVED" />
<aura:handler name="onSaveSuccess" event="force:recordSaveSuccess" action="{!c.handleSaveSuccess}"/>

<force:recordEdit aura:id="edit" recordId="{!v.recordId}" />
<ui:button label="Save" press="{!c.save}"/>
Record save status: {!v.saveState}

This client-side controller fires the event to save the record and handle it accordingly.

({
    save : function(cmp, event) {
        // Save the record
        cmp.find("edit").get("e.recordSave").fire();
    },

    handleSaveSuccess : function(cmp, event) {
        // Display the save status
        cmp.set("v.saveState", "SAVED");
    }
})
Note

Note

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