cancel
Showing results for 
Search instead for 
Did you mean: 

CMIS Query for custom Aspect properties

nikes
Champ on-the-rise
Champ on-the-rise
I am using Alfresco 3.3g community and CXF for CMIS WebService binding.

We have many aspects in the repository but no custom content type.

What I observed is CMIS does not support Alfresco Aspect properties search.

How can we achieve custom aspect property search in generic way using CMIS?

I tried search query using JOIN between cmis:document and custom aspect type. But Server throws exception sayin JOIN is not allowed.

Do i have to enable anything to allow JOIN operation for CMIS on Alfresco ?


Thanks for any info.
1 REPLY 1

andy
Champ on-the-rise
Champ on-the-rise
Hi

Under the hood, the CMIS query implementation currently has two versions - STRICT - which complies exactly with the spec and NOT_STRICT which has minor violations you would not notice (and mostly like) and aspect only JOIN - which does not require a real join. See the wiki page. The STRICT version does not support JOIN; the NON_STRICT supports join for aspects.

I believe STRICT was the default and has now changed.

You will have to use the search service or update to 3.4.
There is no way to select the version exposed over the CMIS API as part of the request, or turn on join.

It was pointed out to me recently that query is itself an optional part of the spec.

Andy
Getting started

Tags


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.