<?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: Deletion of versions of a file using web script in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deletion-of-versions-of-a-file-using-web-script/m-p/296497#M249627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Pankaj,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually Each and every content residing under alfresco follows particular lifecycle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Content in Alfresco&amp;gt; (on deletion) &amp;gt; Archive Store &amp;gt; (after cleaner run)&amp;gt;Deleted from Archivestore but binary file still there in content.deleted folder of alf_data&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, you need to understand this before you do any operation&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Apr 2013 20:53:48 GMT</pubDate>
    <dc:creator>mitpatoliya</dc:creator>
    <dc:date>2013-04-05T20:53:48Z</dc:date>
    <item>
      <title>Deletion of versions of a file using web script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deletion-of-versions-of-a-file-using-web-script/m-p/296493#M249623</link>
      <description>I have deleted older versions of some documents using web script. Now I want to free space on contentstore being used by deleted versions using web script. Please suggest how it can be achieved.</description>
      <pubDate>Thu, 04 Apr 2013 10:17:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deletion-of-versions-of-a-file-using-web-script/m-p/296493#M249623</guid>
      <dc:creator>pankajkumar</dc:creator>
      <dc:date>2013-04-04T10:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Deletion of versions of a file using web script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deletion-of-versions-of-a-file-using-web-script/m-p/296494#M249624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as far as I know you can only achieve the desired result by using Java &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/5230120/how-to-delete-the-versions-for-particular-space-document" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/5230120/how-to-delete-the-versions-for-particular-space-document&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;You can always build your own Java-backed webscript to perform the operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 11:24:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deletion-of-versions-of-a-file-using-web-script/m-p/296494#M249624</guid>
      <dc:creator>abarisone</dc:creator>
      <dc:date>2013-04-04T11:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Deletion of versions of a file using web script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deletion-of-versions-of-a-file-using-web-script/m-p/296495#M249625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think for that you need to have java backed webscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you go under your alf_data there you can see the contentstore.deleted folder which keeps all the deleted files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AFIK alfresco service does not provide any API to delete those files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, you need to write your own code which will delete the respective binaries from that folder. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 11:27:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deletion-of-versions-of-a-file-using-web-script/m-p/296495#M249625</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-04-04T11:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Deletion of versions of a file using web script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deletion-of-versions-of-a-file-using-web-script/m-p/296496#M249626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If your files are in trashcan, you can delete it from Explorer UI, or trashcan cleaner at &lt;/SPAN&gt;&lt;A href="http://forge.alfresco.com/gf/project/trashcancleaner/" rel="nofollow noopener noreferrer"&gt;http://forge.alfresco.com/gf/project/trashcancleaner/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using lucene you can try searching for the document in archive store (Never tried!), if you get the node, check if you can get the noderef and then delete it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Whenever you perform a delete, it goes in trashcan by default. Through API, if you want to delete content permanently then just add temporary aspect(ContentModel.ASPECT_TEMPORARY) to that content before delete action.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Nikesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 15:31:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deletion-of-versions-of-a-file-using-web-script/m-p/296496#M249626</guid>
      <dc:creator>nikes</dc:creator>
      <dc:date>2013-04-05T15:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Deletion of versions of a file using web script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deletion-of-versions-of-a-file-using-web-script/m-p/296497#M249627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Pankaj,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually Each and every content residing under alfresco follows particular lifecycle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Content in Alfresco&amp;gt; (on deletion) &amp;gt; Archive Store &amp;gt; (after cleaner run)&amp;gt;Deleted from Archivestore but binary file still there in content.deleted folder of alf_data&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, you need to understand this before you do any operation&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 20:53:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deletion-of-versions-of-a-file-using-web-script/m-p/296497#M249627</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-04-05T20:53:48Z</dc:date>
    </item>
  </channel>
</rss>

