Query on cmis nuxeo

Hi.

When I do a query in cmis and not check “search all versions” in the program “CMIS QUERY-Nuxeo Repository default”, the documents that have the version 0.0 are not shown. I'm using nuxeo 5.7.1, and the query is “SELECT * FROM cmis:document”

Thanks in advance.

0 votes

1 answers

2556 views

ANSWER

Hi, Vicmator

where you write your CMIS query to Worklist? and how to make the call?

Thank you

07/23/2014



If you don't check “search all versions” then it means “search latest version” (per CMIS spec, 2.2.6.1.1). But documents in version 0.0 in Nuxeo are drafts, they are not versioned yet, so you won't find them using such a query.

1 votes



Thanks Florent Guillaume.

Could you tell me how I have to do the query to shown the documents which have the version 0.0?

Thanks in advance.

08/14/2013

See CMIS for Nuxeo, section "Nuxeo specific system properties". You can use nuxeo:isVersion = false.
08/15/2013

Thanks Florent Guillaume,

I have tried to use nuxeo:isVersion=false and not shown the result. The result only appears when I check the option "search all versions" using the query "SELECT * FROM cmis:document where nuxeo:isVersion=false".

Thanks in advance.

08/16/2013

Yes that's how it's supposed to work.
08/19/2013