Delete Specific Attachment From Document
I have Problem in Removing Specific Attachment From Document. When I try to delete attachment with index 3, it will always delete last attachment that is index 0.
I have tried using below code. DocumentService ds = session.getAdapter(DocumentService.class); org.nuxeo.ecm.automation.client.model.DocRef docRef = new org.nuxeo.ecm.automation.client.model.DocRef(DOCID); ds.removeBlob(docRef, “files/content“);
Please any help would be appreciated.
Thank you for showing right path. we are using nx 8.2, so is there any patch to resolve this issue in 8.2 ?