<?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 API URL to download pervious versions of an uploaded file in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/api-url-to-download-pervious-versions-of-an-uploaded-file/m-p/306468#M259598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to download the previous version of an uploaded file on alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone suggest me any existing API which can be used for this purpose.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried a few but those only gave the latest version of the file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Need some urgent help..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Apr 2015 12:44:02 GMT</pubDate>
    <dc:creator>anupam_r_mas</dc:creator>
    <dc:date>2015-04-05T12:44:02Z</dc:date>
    <item>
      <title>API URL to download pervious versions of an uploaded file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/api-url-to-download-pervious-versions-of-an-uploaded-file/m-p/306468#M259598</link>
      <description>Hi Guys,I need to download the previous version of an uploaded file on alfresco.Can anyone suggest me any existing API which can be used for this purpose.I tried a few but those only gave the latest version of the file.Need some urgent help..Thanks.</description>
      <pubDate>Sun, 05 Apr 2015 12:44:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/api-url-to-download-pervious-versions-of-an-uploaded-file/m-p/306468#M259598</guid>
      <dc:creator>anupam_r_mas</dc:creator>
      <dc:date>2015-04-05T12:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: API URL to download pervious versions of an uploaded file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/api-url-to-download-pervious-versions-of-an-uploaded-file/m-p/306469#M259599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you have enabled version on content/document then in detail page of document you can see version history. From there you can download previous version of docuent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For API - check VersionService, you may follow below steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1)Get nodeRef of document&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)get its versionHistory (VersionService.getVersionHistory)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3)Generte download URL from requried version using this noderef - version.getFrozenStateNodeRef()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this help&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 13:55:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/api-url-to-download-pervious-versions-of-an-uploaded-file/m-p/306469#M259599</guid>
      <dc:creator>niketapatel</dc:creator>
      <dc:date>2015-04-06T13:55:29Z</dc:date>
    </item>
  </channel>
</rss>

