cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Specific Attachment From Document

Prakash_Vidja
Champ in-the-making
Champ in-the-making

Hello Guys,

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[3]");

Please any help would be appreciated.

Thank you

1 ACCEPTED ANSWER

Florent_Guillau
World-Class Innovator
World-Class Innovator

This bug has been recently identified and fixed, see NXP-19010.

View answer in original post

3 REPLIES 3

Florent_Guillau
World-Class Innovator
World-Class Innovator

This bug has been recently identified and fixed, see NXP-19010.

Prakash_Vidja
Champ in-the-making
Champ in-the-making

Thank you for showing right path. we are using nx 8.2, so is there any patch to resolve this issue in 8.2 ?

Thank you

Please don't use the Answers section to ask followup questions.