This function returns the number of documents that are attached to current case.
- fieldName|fileName – (String) Name of the file field or name of the file from documents list. If set to „all” then all documents not assigned to fields will be deleted
This function returns Boolean.
Returns true if document was found and deleted, otherwise returns false.
This will delete file from Invoice field.
Delete all documents from documents list in case. Does not delete documents from fields.
Delete file with invoice.pdf name from documents list.