cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a CMIS Query to find path of a document in repository.

abhysunny
Champ on-the-rise
Champ on-the-rise

 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.

1 ACCEPTED ANSWER

andy1
Star Collaborator
Star Collaborator

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

View answer in original post

1 REPLY 1

andy1
Star Collaborator
Star Collaborator

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