Callback functions for the saveRecord and deleteRecord functions receive a SaveRecordResult object as their only argument.
Attribute Name | Type | Description |
---|---|---|
entityApiName | String | The entity API name for the sObject of the record. |
entityLabel | String | The label for the name of the sObject of the record. |
error | String | Error is one of the following.
error is undefined if the save state is SUCCESS or DRAFT. |
recordId | String | The 18-character ID of the record affected. |
state | String | The result state of the operation. Possible values are:
|