<?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: How to obtain a specific version of a document ? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-obtain-a-specific-version-of-a-document/m-p/89275#M26748</link>
    <description>&lt;P&gt;You can use VersionService to get the version of a specific node.&lt;/P&gt;&lt;PRE&gt;serviceRegistry.getVersionService().getCurrentVersion(nodeRef);&lt;/PRE&gt;&lt;PRE&gt;serviceRegistry.getVersionService().getVersionHistory(nodeRef).getAllVersions();&lt;/PRE&gt;&lt;P&gt;The above method will return the collection of all the versions of a nodeRef passed.&lt;/P&gt;&lt;P&gt;There are many more methods provided by versioning service.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jul 2020 12:10:36 GMT</pubDate>
    <dc:creator>kintu_barot</dc:creator>
    <dc:date>2020-07-30T12:10:36Z</dc:date>
    <item>
      <title>How to obtain a specific version of a document ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-obtain-a-specific-version-of-a-document/m-p/89273#M26746</link>
      <description>&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have problems obtaining a specific version of a document.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I execute the query using ObjectId like this:&lt;/P&gt;&lt;P&gt;479a507f-f095-4a97-bc11-db900ae18055;1.11&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;479a507f-f095-4a97-bc11-db900ae18055;1.7.&lt;/P&gt;&lt;P&gt;But I always obtain the latest version of the document.&lt;/P&gt;&lt;P&gt;Any answer?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="simple-translate-button "&gt;Hot busty babes...and even sluts! &lt;A href="https://www.bigtitsporn.xxx/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.bigtitsporn.xxx/&lt;/A&gt; Coolest porn site&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="simple-translate-button "&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="simple-translate-panel "&gt;&lt;DIV class="simple-translate-result-wrapper"&gt;&lt;P class="simple-translate-result"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="simple-translate-candidate"&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Jul 2020 07:56:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-obtain-a-specific-version-of-a-document/m-p/89273#M26746</guid>
      <dc:creator>pivotofo</dc:creator>
      <dc:date>2020-07-30T07:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain a specific version of a document ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-obtain-a-specific-version-of-a-document/m-p/89274#M26747</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/82539"&gt;@pivotofo&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;This is a duplicate of this &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/how-to-obtain-a-specific-version-of-a-document/td-p/56557" target="_self" rel="nofollow noopener noreferrer"&gt;question&lt;/A&gt;. If you can provide the information that&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/50997"&gt;@janv&lt;/A&gt;&amp;nbsp;asked for in response, perhaps someone will be able to help you.&lt;/P&gt;
&lt;P&gt;Kind regards,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 08:56:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-obtain-a-specific-version-of-a-document/m-p/89274#M26747</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-07-30T08:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain a specific version of a document ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-obtain-a-specific-version-of-a-document/m-p/89275#M26748</link>
      <description>&lt;P&gt;You can use VersionService to get the version of a specific node.&lt;/P&gt;&lt;PRE&gt;serviceRegistry.getVersionService().getCurrentVersion(nodeRef);&lt;/PRE&gt;&lt;PRE&gt;serviceRegistry.getVersionService().getVersionHistory(nodeRef).getAllVersions();&lt;/PRE&gt;&lt;P&gt;The above method will return the collection of all the versions of a nodeRef passed.&lt;/P&gt;&lt;P&gt;There are many more methods provided by versioning service.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 12:10:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-obtain-a-specific-version-of-a-document/m-p/89275#M26748</guid>
      <dc:creator>kintu_barot</dc:creator>
      <dc:date>2020-07-30T12:10:36Z</dc:date>
    </item>
  </channel>
</rss>

