Delete attachment thorough Java
Through my own custom listener I would like to delete main files and attachment from the nuxeo document. Deleting the document seems to be easy as you can use the below code.
doc.getCoreSession().removeDocument(doc.getRef()); doc.getCoreSession().save();
But how I can delete the file and attachment through my java code. Please provide me a snippet of code.
0 votes
1 answers
2280 views
Julien Carsique
Please, don't cross-post over sites: http://stackoverflow.com/questions/39363098/delete-remove-main-file-and-attachment-from-nuxeo
09/08/2016