English
showDetailsComp
About 82 wordsLess than 1 minute
2025-12-15
bizApi.showDetailsComp(objApiName, recordType)
Shows 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.showDetailsComp('object_db3ck__c'); // Show all tables of the detail object by default
context.bizApi.showDetailsComp('object_db3ck__c', 'default__c'); // Show the detail-object table of the preset business type
}
}