The following code does not remove the blob:
Document doc = nuxeoClient.schemas("dublincore", "file").repository().fetchDocumentByPath(pathOrId); doc.setPropertyValue("file:content", null); doc = nuxeoClient.repository().updateDocument(doc);
The following code does not remove the blob:
Document doc = nuxeoClient.schemas("dublincore", "file").repository().fetchDocumentByPath(pathOrId); doc.setPropertyValue("file:content", null); doc = nuxeoClient.repository().updateDocument(doc);