AnsweredAssumed Answered

How to query categories with CMIS

Question asked by evoci on Feb 12, 2015
Latest reply on Feb 12, 2015 by evoci
I have a Alfresco Community 5.0a repository, and would like to retrieve categories uid starting from their name using java and OpenCmis (alfresco-opencmis-extension-0.7.jar).
I try to execute

ItemIterable<QueryResult> results = session.query("SELECT * FROM cm:category", false);

but Alfresco logs

01120974 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/cmis/': 01120973 Type is unsupported in query: cm:category

I understand that this straightforward approach to retrieve categories is not supported by the opencmis extension I use, and wonder what else I could do.