<?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 How to check if object is versionable? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-object-is-versionable/m-p/215711#M168841</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;I want to check if object is versionable. I'm able to create both types of documents, but after that I'm not able to check whether the document is versionable or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I thouhgt that maybe if cmis:versionSeriesId is null then it means the document is not versionable, but I was wrong. Once I check-out and check-in not-versioned document, this attribute has a value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So another way is checking whether the object has applied Versionable aspect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked in Alfresco Explorer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aspects&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0}auditable" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}auditable&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/system/1.0}referenceable" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/system/1.0}referenceable&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0}titled" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}titled&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0}lockable" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}lockable&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0}versionable" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}versionable&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But CMIS returns me only:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P:cm:lockable&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P:cm:titled&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to display a valid checkin dialog, but apparently there is no way to do that &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mariusz&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jun 2010 13:11:21 GMT</pubDate>
    <dc:creator>mariusz_pala</dc:creator>
    <dc:date>2010-06-24T13:11:21Z</dc:date>
    <item>
      <title>How to check if object is versionable?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-object-is-versionable/m-p/215711#M168841</link>
      <description>Hi,I want to check if object is versionable. I'm able to create both types of documents, but after that I'm not able to check whether the document is versionable or not.I thouhgt that maybe if cmis:versionSeriesId is null then it means the document is not versionable, but I was wrong. Once I check-o</description>
      <pubDate>Thu, 24 Jun 2010 13:11:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-object-is-versionable/m-p/215711#M168841</guid>
      <dc:creator>mariusz_pala</dc:creator>
      <dc:date>2010-06-24T13:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if object is versionable?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-object-is-versionable/m-p/215712#M168842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Versionable is an aspect, and CMIS does not support aspects, so it might be available in the &amp;lt;alf:aspects&amp;gt; section of what you receive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you use OpenCMIS or some other library to access CMIS? If you use OpenCMIS, see &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/2998364" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/2998364&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nicolas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 05:56:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-object-is-versionable/m-p/215712#M168842</guid>
      <dc:creator>nicolasraoul</dc:creator>
      <dc:date>2010-06-25T05:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if object is versionable?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-object-is-versionable/m-p/215713#M168843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I use another API and I use Alfresco extension to get the attached aspects, unfortunately this extension returns me only 2 aspects out of 5 attached. I reported that as a bug.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jul 2010 07:11:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-check-if-object-is-versionable/m-p/215713#M168843</guid>
      <dc:creator>mariusz_pala</dc:creator>
      <dc:date>2010-07-01T07:11:53Z</dc:date>
    </item>
  </channel>
</rss>

