MobileCRM.Application.writeFileWithEncoding - Resconet/JSBridge GitHub Wiki

[v9.0.2] Asynchronously writes the text into 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.
text String Defines the file content to be written.
encoding String Defines the text encoding for file content (default is UTF-8). Use "ASCII" for ANSI text or "UTF-16" for multi-byte Unicode.
append Boolean Determines whether to overwrite or append to an existing file.
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.
⚠️ **GitHub.com Fallback** ⚠️