Extending CMIS query to get all documents with a property
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 oarderAspect 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'.