02-15-2023 07:43 AM
02-15-2023 07:48 AM
Use CONTAINS clause combined with PATH expression.
https://pavelmakhov.com/2015/10/cmis-path-query/
02-15-2023 08:34 AM
It returns error 500
{
"query": {"language": "cmis",
"query": "select * from cmis:document
where contains("PATH:\"/app:company_home/st:sites/cm:MySite/cm:documentLibrary//*\" AND TYPE:\"cm:folder\" AND cm:name:\"MyFolder\"")"}
}
02-16-2023 03:58 AM
{ "query": { "query": "select * from cmis:folder
where cmis:name='MyFolder' AND
contains('PATH:\"/app:company_home/st:sites/cm:MySite/cm:documentLibrary//*\"')", "language": "cmis" } }
02-16-2023 07:03 AM
Sorry, but it doesn't even run that query.
Is it possible to do that with lucene language ? From multiple folders ?
Thanks
02-20-2023 03:55 AM
{ "query": { "query": "select * from cmis:folder where cmis:name='MyFolder' AND contains('PATH:\"/app:company_home/st:sites/cm:MySite/cm:documentLibrary//*\"')", "language": "cmis" } }
This is working from my side, what error are you getting?
Explore our Alfresco products with the links below. Use labels to filter content by product module.