Skip to content

MobileCRM.UI.MediaTab.selectFile

rescocrm edited this page May 15, 2023 · 9 revisions

Executes the select file command on this media tab.

Example demonstrate how to execute the select file command on media tab.

MobileCRM.UI.EntityForm.requestObject(function (entityForm) {
	// get media tab by its name 
	var media = entityForm.getMediaTab("DocumentAction");
	media.selectFile();
}, MobileCRM.bridge.alert, null);
Clone this wiki locally