I know of getpath CMIS apis which can do this; but I am looking for a query which I can run in CMIS workbench.
Also, I am trying to do it for thousands of document in a folder hierarchy. I am able to fetch details like, object id, name etc, but couldn't figure a way to fetch folder path.
Solved! Go to Solution.
Hi
The CMIS QL only officially supports IN_FOLDER and IN_TREE using an identifier.
You can use normal AFTS PATH expressions in CONTAINS() but that is Alfresco specific.
However, PATH is not exposed as a property.
There is a concept of "name path" in CMIS.
There is some more limited support for this using NPATH.
Andy
Hi
The CMIS QL only officially supports IN_FOLDER and IN_TREE using an identifier.
You can use normal AFTS PATH expressions in CONTAINS() but that is Alfresco specific.
However, PATH is not exposed as a property.
There is a concept of "name path" in CMIS.
There is some more limited support for this using NPATH.
Andy
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.