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

cancel
Showing results for 
Search instead for 
Did you mean: 
abhysunny
Active Member

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

Jump to solution

 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 Solution

Accepted Solutions
andy1
Senior Member

Re: Is the CMIS Query to find path of a document in repository.

Jump 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

View solution in original post

1 Reply
andy1
Senior Member

Re: Is the CMIS Query to find path of a document in repository.

Jump 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