-
Notifications
You must be signed in to change notification settings - Fork 24
MobileCRM.Application.writeFileWithEncoding
Maros Kolibas edited this page Nov 29, 2019
·
3 revisions
| 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. |