<?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: Unique objectId for different document versions? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/unique-objectid-for-different-document-versions/m-p/247670#M200800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was using the old CMIS Atom feed so thanks for pointing that out and I confirm I now see the unique Ids. This actually solves many of the difficulties I was dealing with in terms of accessing metadata from older versions of a document. Do you know if it's possible to extract the Paths for an older version? For example I am doing&amp;nbsp; ((DocumentImpl)session.getObject(&amp;lt;OBJECTID&amp;gt;)).getPaths() which returns the path for the most recent version of an object but an empty array for older versions of an object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adam&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2011 08:45:59 GMT</pubDate>
    <dc:creator>adamwilmer</dc:creator>
    <dc:date>2011-10-05T08:45:59Z</dc:date>
    <item>
      <title>Unique objectId for different document versions?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unique-objectid-for-different-document-versions/m-p/247668#M200798</link>
      <description>The CMIS 1.0 spec says Note: When a document is versioned, each version of the document is a separate document object. Thus, for document objects, an object ID actually identifies a specific version of a document."so when I make a query "SELECT * FROM cmis:document" and then upload a new version of</description>
      <pubDate>Tue, 04 Oct 2011 16:11:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unique-objectid-for-different-document-versions/m-p/247668#M200798</guid>
      <dc:creator>adamwilmer</dc:creator>
      <dc:date>2011-10-04T16:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unique objectId for different document versions?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unique-objectid-for-different-document-versions/m-p/247669#M200799</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;BR /&gt;&lt;SPAN&gt;That's a known issue in Alfresco 3.x. If you are seeing this issue with Alfresco 4.x, you are probably using the wrong (old) CMIS URLs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Check this page for the new URLs: &lt;/SPAN&gt;&lt;A href="http://&amp;lt;host&amp;gt;/alfresco/service/cmis/index.html" rel="nofollow noopener noreferrer"&gt;http://&amp;lt;host&amp;gt;/alfresco/service/cmis/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Florian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 16:55:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unique-objectid-for-different-document-versions/m-p/247669#M200799</guid>
      <dc:creator>fmui</dc:creator>
      <dc:date>2011-10-04T16:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unique objectId for different document versions?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unique-objectid-for-different-document-versions/m-p/247670#M200800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was using the old CMIS Atom feed so thanks for pointing that out and I confirm I now see the unique Ids. This actually solves many of the difficulties I was dealing with in terms of accessing metadata from older versions of a document. Do you know if it's possible to extract the Paths for an older version? For example I am doing&amp;nbsp; ((DocumentImpl)session.getObject(&amp;lt;OBJECTID&amp;gt;)).getPaths() which returns the path for the most recent version of an object but an empty array for older versions of an object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adam&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 08:45:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unique-objectid-for-different-document-versions/m-p/247670#M200800</guid>
      <dc:creator>adamwilmer</dc:creator>
      <dc:date>2011-10-05T08:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unique objectId for different document versions?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unique-objectid-for-different-document-versions/m-p/247671#M200801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Adam,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From a CMIS perspective older document versions are not filed. They are not children of a folder. Therefore they don't have a path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to go back to the latest version to get the path. For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;((Document)session.getObject(&amp;lt;OBJECTID&amp;gt;)).getObjectOfLatestVersion(false).getPaths()&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Florian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 08:57:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unique-objectid-for-different-document-versions/m-p/247671#M200801</guid>
      <dc:creator>fmui</dc:creator>
      <dc:date>2011-10-05T08:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unique objectId for different document versions?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unique-objectid-for-different-document-versions/m-p/247672#M200802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok.. perfect! Thanks for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 11:11:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unique-objectid-for-different-document-versions/m-p/247672#M200802</guid>
      <dc:creator>adamwilmer</dc:creator>
      <dc:date>2011-10-05T11:11:07Z</dc:date>
    </item>
  </channel>
</rss>

