Skip to content

MobileCRM.UI.MediaTab.selectFile

rescocrm edited this page Aug 2, 2024 · 10 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