saveEmbeddedFolderFile(folderPath, embeddedFilename, data) Last updated: 02. May 2025
API only function
Saves an embedded file to the properties of an existing Docly folder. Note that embedded files that are not referenced by a field in the folder properties document will be automatically deleted.
Parameters
Name | Type | Description |
---|---|---|
folderPath | string | |
embeddedFilename | Long unique filename for resource to save (guid + extension) | |
data | byte[] / base64 |
Returns
Boolean, true if successful otherwise throws an error.
If an embedded file with the same name alread exists for this folder, this function throws an error (GUID names should always be used to avoid name conflicts).