Delete Event
Delete Event - app.record.detail.delete.submit
An event triggered when the "Delete" button is clicked on the pop-up that appears when you delete a record on the record details page.
Function
Desktop
app.record.detail.delete.submit
Mobile
mobile.app.record.detail.delete.submit
Properties of the Event Object
| PROPERTY | TYPE | DESCRIPTION |
|---|---|---|
| appId | Number | The App ID. |
| record | Object | The record object. |
| recordId | Number | The record ID. |
| type | String | The event type. |
Running actions after waiting for asynchronous operations to finish
By returning a Promise object, you can delete the record after waiting for asynchronous operations to finish. Refer to the sample code on the
Save Event
article.
Cancel Actions
Actions can be cancelled by doing one of the following:
- Show record errors
- return
false