<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Delete Specific Attachment From Document in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/delete-specific-attachment-from-document/m-p/317748#M4749</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I think your problem is in xpath of attachment. Please, use xpath with the format &lt;CODE&gt;files:files/file[a]&lt;/CODE&gt;, with a=[0..n) n=total of attachments, to delete it.&lt;/P&gt;
&lt;P&gt;Regards,
VS&lt;/P&gt;</description>
    <pubDate>Mon, 04 Dec 2017 13:02:29 GMT</pubDate>
    <dc:creator>Victor_Sánchez</dc:creator>
    <dc:date>2017-12-04T13:02:29Z</dc:date>
    <item>
      <title>Delete Specific Attachment From Document</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/delete-specific-attachment-from-document/m-p/317747#M4748</link>
      <description>&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;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]“);&lt;/P&gt;
&lt;P&gt;Please any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 09:48:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/delete-specific-attachment-from-document/m-p/317747#M4748</guid>
      <dc:creator>Avi_Jain</dc:creator>
      <dc:date>2017-11-01T09:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Specific Attachment From Document</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/delete-specific-attachment-from-document/m-p/317748#M4749</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I think your problem is in xpath of attachment. Please, use xpath with the format &lt;CODE&gt;files:files/file[a]&lt;/CODE&gt;, with a=[0..n) n=total of attachments, to delete it.&lt;/P&gt;
&lt;P&gt;Regards,
VS&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 13:02:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/delete-specific-attachment-from-document/m-p/317748#M4749</guid>
      <dc:creator>Victor_Sánchez</dc:creator>
      <dc:date>2017-12-04T13:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Specific Attachment From Document</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/delete-specific-attachment-from-document/m-p/317749#M4750</link>
      <description>&lt;P&gt;Ok Thanks for the help.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 06:22:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/delete-specific-attachment-from-document/m-p/317749#M4750</guid>
      <dc:creator>Avi_Jain</dc:creator>
      <dc:date>2017-12-18T06:22:59Z</dc:date>
    </item>
  </channel>
</rss>

