You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rescocrm edited this page Aug 2, 2024
·
10 revisions
[v11.1] Marks the MediaTab as editable.
Arguments
Argument
Type
Description
editable
Boolean
Indicates whether to mark MediaTab as editable.
errorCallback
function(errorMsg)
The errorCallback which is called in case of error.
This example demonstrates how to set the media tab editable or read-only.
MobileCRM.UI.EntityForm.requestObject(function(entityForm){// get media tab by its namevarmedia=entityForm.getMediaTab("DocumentAction");media.setEditable(true,MobileCRM.bridge.alert);// set false to make it read-only},MobileCRM.bridge.alert,null);