cancel
Showing results for 
Search instead for 
Did you mean: 

display what folder documents are in

danielguerra
Champ in-the-making
Champ in-the-making
is there a way to display what folder a document is in?  I am creating a report and am querying cmis:document but I cannot see where these documents are located in the document repository.
3 REPLIES 3

fmui
Champ in-the-making
Champ in-the-making
It is not possible with a CMIS query to determine the folder (or folders) a document resides in. CMIS provides the operation getObjectParents in the Navigation Service for that.
If your are using OpenCMIS, fetch the document and call getParents().

danielguerra
Champ in-the-making
Champ in-the-making
i am using cmislib on python i tired both getObjectParents and getParents.  what is the right call?

fmui
Champ in-the-making
Champ in-the-making
The Document object should have a method getObjectParents().