cancel
Showing results for 
Search instead for 
Did you mean: 

How to retrieve document of type 'Workspace' with CMIS query ?

Clément_Lardeur
Confirmed Champ
Confirmed Champ

I'm using the cmislib (python client) to request my Nuxeo server (5.5.0-HF05) but I can't retrieve document of type 'Workspace' or 'WorkspaceRoot' with this query:

SELECT * FROM cmis:folder

This one returns nothing:

SELECT * FROM cmis:folder WHERE dc:title = 'Workspaces'

How should I do it?

1 ACCEPTED ANSWER

Florent_Guillau
World-Class Innovator
World-Class Innovator

Since NXP-8495, when you do a query in Nuxeo 5.5 and you want non-checked-in documents, you have to add the option searchAllVersions=true to the query. NXP-9174 fixes the case where it was unnecessarily required for folders. This fix is present in 5.5.0-HF07.

View answer in original post

2 REPLIES 2

Florent_Guillau
World-Class Innovator
World-Class Innovator

Since NXP-8495, when you do a query in Nuxeo 5.5 and you want non-checked-in documents, you have to add the option searchAllVersions=true to the query. NXP-9174 fixes the case where it was unnecessarily required for folders. This fix is present in 5.5.0-HF07.

Ok I have better understood where did the problem.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.