English
triggerMasterButton
About 81 wordsLess than 1 minute
2025-12-15
bizApi.riggerMasterButton(buttonApiName)
Triggers a button action
Parameters
| Parameter | Description | Type | Required |
|---|---|---|---|
| buttonApiName | Button apiName | String | Yes |
Basic Example
export default class Plugin {
apply() {
return [{
event: 'form.render.after',
functional: this.formRendereAfter.bind(this)
}]
}
formRendereAfter(context, plugin) {
context.bizApi.triggerMasterButton('button__c');
}
}Appendix
Notes
1. After a button is removed, the action associated with it can no longer be executed.
For example, if the submit button is removed, trying to trigger submission through the API will not work.
