Skip to content

MobileCRM.UI.EntityForm.selectTab

rescocrm edited this page May 15, 2023 · 9 revisions

[v8.0] Selects the form tab by its name.

Arguments

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);
Clone this wiki locally