This is the document definition from the cmis:document type in nightly drop of Alfresco 3.3 enterprise (somewhere around the June 9th). Anyway, I'm curious as to why the isLatestVersion property is not queryable. Wouldn't it make sense to do a query that looks like Select * from cmis:document where cmis:name="myDoc.doc" and cmis:isLatestVersion=true
If we can't query that, then how do we find the latest version of a document in the repository? <cmis:propertyBooleanDefinition>
<cmis:id>cmis:isLatestVersion</cmis:id>
<cmis:localName>isLatestVersion</cmis:localName>
<cmis:localNamespace>http://www.alfresco.org/model/cmis/1.0/cs01</cmis:localNamespace>
<cmis:displayName>Is Latest Version</cmis:displayName>
<cmis:queryName>cmis:isLatestVersion</cmis:queryName>
<cmis:description>Is this the latest version of the document?</cmis:description>
<cmis:propertyType>boolean</cmis:propertyType>
<cmis:cardinality>single</cmis:cardinality>
<cmis:updatability>readonly</cmis:updatability>
<cmis:inherited>false</cmis:inherited>
<cmis:required>true</cmis:required>
<cmis:queryable>false</cmis:queryable> <—————-
<cmis:orderable>false</cmis:orderable>
<cmis:openChoice>false</cmis:openChoice>
</cmis:propertyBooleanDefinition>