There was an error while loading. Please reload this page.
Asks the user to choose a file and calls the async callback with file info.
This example demonstrates how select a file.
var service = new MobileCRM.Services.DocumentService(); service.allowChooseVideo = true; service.selectFile(function (fileInfo) { /// <param name='fileInfo' type='MobileCRM.Services.FileInfo '/> MobileCRM.bridge.alert("File pasted: " + fileInfo.filePath + "\n" + fileInfo.url); }, MobileCRM.bridge.alert);
Links: