chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <f...@apache.org>
Subject Re: Question about cmis path
Date Mon, 20 Jun 2016 11:37:41 GMT
Hi Neza,

It is not possible to get the path of a document in a query result.
You have to iterate over the result set and call getPaths().


- Florian



> Dear all,
> 
> I hope this email finds you well. I am writing to request for your 
> help.
> I was using cmis query to query all documents in myrepository and that
> works very perfect as I want to. However I have a pertinant question, I
> wanted to ask how I can also get the first path of a document in my 
> query
> results. I know the document does not have the cmis:path. Is there any 
> way
> to access the getPaths method in my query result? Can i get the path of
> each of my queried documents?
> 
> If there is any idea or sample codes that would help.
> 
> Thanks.
> Neza

Mime
View raw message