-
Notifications
You must be signed in to change notification settings - Fork 24
MobileCRM.UI.EntityForm.selectTab
rescocrm edited this page Aug 2, 2024
·
10 revisions
[v8.0] Selects the form tab by its name.
| Argument | Type | Description |
|---|---|---|
| tabName | String | The name of the tab. |
| errorCallback | function(errorMsg) | The errorCallback which is called asynchronously in case of error. |
| scope | Object | The scope for callback. |
This example demonstrates how to select the associated contacts tab on the account entity form.
MobileCRM.UI.EntityForm.requestObject(function (entityForm) {
entityForm.selectTab(
// The name of the associated contacts tab consists of the entity logical name,
// the lookup field name and the source entity name.
"contact.parentcustomerid.account", MobileCRM.bridge.alert);
}, MobileCRM.bridge.alert, null);