AnsweredAssumed Answered

CMIS Query to get documents with a specific aspect property value

Question asked by kartech11 on Aug 29, 2018
Latest reply on Aug 30, 2018 by sepgs2004

I am trying to execute the following CMIS query that searches for all documents within a site that have the docStatus property set to 'Active' from defaultAspect type. The query errors out stating the below issue. Please can you let me know what is wrong with the query.

 

Error Content:
{"exception":"invalidArgument","message":"No selector for "}

 

Query

SELECT d.* FROM cmis:document AS d JOIN td:defaultAspect as p ON d.cmis:objectId = p.cmis:objectId WHERE td:docStatus ='Active' and CONTAINS('PATH:\"/app:company_home/st:sites/cm:testsite/cm:documentLibrary//*\"')

Outcomes