Hello everybody

Could someone give me any clue on how to get only the latest version of a
document via CMIS query?

i have try as follows:

http://cmis.demo.nuxeo.org/nuxeo/site/cmis/query?q=select+*+from+cmis:document+where+cmis:isLatestVersion='true
'

But i receive errors like:

Failed to execute query: CMISQL: select * from cmis:document where
cmis:isLatestVersion='true': Column cmis:isLatestVersion is not queryable at
org.nuxeo.ecm.core.api.AbstractSession.queryAndFetch(AbstractSession.java:1453)
at
org.nuxeo.ecm.core.chemistry.impl.NuxeoConnection.query(NuxeoConnection.java:840)
... 58 more Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception:
org.nuxeo.ecm.core.chemistry.impl.CMISQLQueryMaker$QueryMakerException.
message: Column cmis:isLatestVersion is not queryable at
org.nuxeo.ecm.core.chemistry.impl.CMISQLQueryMaker.referToColumnInWhere(CMISQLQueryMaker.java:697)
at   .........



Thanks in advanced
-- 
Jesus
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to