Onload Event
Onload Event (desktop) - app.record.edit.show
An event triggered after the Record Edit page is displayed on the desktop.
Function
app.record.edit.show
Triggered Timing
- After the Record Edit page is displayed, i.e. when there is an
mode=editin the URL of the page. - After the Record Edit page is displayed through a notification.
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. |
Available Event Object Actions
- Overwrite field values
- Enable/Disable field edits
- Show field errors
- Show record errors
- Run Lookup fields
- Clear copied Lookup field values
- By returning a
Promiseobject in the event handler, event object actions can be processed after waiting for asynchronous processes in the event handler to finish.
Onload Event (mobile) - mobile.app.record.edit.show
An event triggered after the Record Edit page is displayed on the mobile.
Function
mobile.app.record.edit.show
Triggered Timing
- After the Record Edit page is displayed on the mobile.
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. |
Available Event Object Actions
- Overwrite field values
- Enable/Disable field edits
- Show field errors
- Show record errors
- Run Lookup fields
- Clear copied Lookup field values
- By returning a
Promiseobject in the event handler, event object actions can be processed after waiting for asynchronous processes in the event handler to finish.
Limitations
- In mobile, values from the Attachment field cannot be retrieved.
- Refer to the Limitations section of the following article for more details:
Event Handling