addOnPostSave (Client API reference)

Adds an event handler to be called after the record is saved with success or failure.

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.

See also

PostSave event

removeOnPostSave