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 May 15, 2023
·
8 revisions
Asynchronously deletes the file from the application local data.
Arguments
Argument
Type
Description
path
String
Defines the relative path of the file in the application local data.
success
function(result)
A callback function which is called in case of successful asynchronous result.
failed
function(error)
A callback function for command failure. The error argument will carry the error message.
scope
A scope for calling the callbacks; set "null" to call the callbacks in global scope.
This example demonstrates how to delete an application storage file.
MobileCRM.Application.deleteFile("TestData/MyFile.txt",function(res){MobileCRM.bridge.alert("File was deleted");},function(){MobileCRM.bridge.alert("File wasn't deleted");});