AnsweredAssumed Answered

Extending CMIS query to get all documents with a property

Question asked by kartech11 on Aug 16, 2018
Latest reply on Aug 20, 2018 by kranthi

1I have an aspect that I have associated with multiple documents. For example lests call the aspect OrderAspect. 

The below query works when I fetch all nodes that have a location property from OrderAspect set to 'WAREHOUSE-A'

 

SELECT * FROM oa:OrderAspect WHERE oa:Location ='WAREHOUSE-A'  

 

1. How can I extend this query to get all documents that have this aspect and the location value as 'WAREHOUSE-A'

2. Can I extend this query to search within a folder path or sit? I would like to list all the documents within a folder (including subfolder) or a site that has OrderAspect with property location set to 'WAREHOUSE-A'.

Outcomes