MobileCRM.Application.writeFile - Resconet/JSBridge GitHub Wiki
Asynchronously writes the text into the file from the application local data.
File content is encoded using UTF-8 encoding.
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. |
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. |