English
hideDetailsComp
About 80 wordsLess than 1 minute
2025-12-15
bizApi.hideDetailsComp(objApiName, recordType)
Hides a detail object of a specific business type
Parameters
| Parameter | Description | Type | Required |
|---|---|---|---|
| objApiName | Detail object apiName | String | Yes |
| recordType | Detail-object business type | String | No |
Return Value
None
Basic Example
export default class Plugin {
apply() {
return [{
event: 'form.render.after',
functional: this.formRendereAfter.bind(this)
}]
}
formRendereAfter(context, plugin) {
context.bizApi.hideDetailsComp('object_db3ck__c'); // Hide all tables of the detail object
context.bizApi.hideDetailsComp('object_db3ck__c', 'default__c'); // Hide the detail-object table of the preset business type
}
}