English
md.edit.end
About 166 wordsLess than 1 minute
2025-12-15
This hook is triggered after editing child-object data, specifically after input blur, and after UI events/calculation logic have finished executing. It allows extra business actions, including but not limited to data validation.
- Validate data
Parameters
| Parameter | Description | Type |
|---|---|---|
| Common parameters | See details | -- |
| objApiName | Child object apiName | String |
| recordType | Child object record type | String |
| dataIndex | Row IDs of the edited child-object data | Array |
| fieldName | Edited field | String |
| changeData | Changed field data | Object |
| changeFields | All property keys changed while editing the field | Array |
Notes
1. Difference between fieldName and changeFields
Usually, a changed field may correspond to only one field name, but additional properties are often required for storage. For example, for a lookup field, the API name may be field_1n1xs__c, but in actual storage two properties are often required: one is field_1n1xs__c, which stores the related record ID; the other is field_1n1xs__c__r, which stores the main property of the related record for display.
