-
Notifications
You must be signed in to change notification settings - Fork 24
MobileCRM.DynamicEntity.unzipDocumentBody
rescocrm edited this page May 15, 2023
·
3 revisions
[v9.1] Asynchronously unpacks the document body (assumes it's a zip file) for specified entity.
| Argument | Type | Description |
|---|---|---|
| entityName | String | The logical name of the entity, in most cases the "annotation". |
| id | String | GUID of the existing entity or null for new one. |
| targetDir | String | The relative path of the target directory within the application storage. |
| success | function(result) | A callback function for successful asynchronous result. The result argument will carry the string with base64-encoded data. |
| 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. |