addOnPostSave (Client API reference)
Adds an event handler to the PostSave Event event.
Note
This API is not available for Dynamics 365 Customer Engagement on-premise deployments. More information: Client APIs not supported in Customer Engagement (on-premises)
Syntax
formContext.data.entity.addOnPostSave(myFunction);
Parameter
Name | Type | Required | Description |
---|---|---|---|
myFunction |
function reference | Yes | The function to be added to the PostSave event after the record is saved with success or failure. |