chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "krzysztoffzielinski@gmail.com"<krzysztoffzielin...@gmail.com>
Subject Re: Copy document with version history
Date Fri, 06 Oct 2017 09:58:14 GMT
Many Thanks, Florian.

I can see that below mentioned method throws exception with the message:
"createDocumentFromSource is not supported by the AtomPub binding!"

It seems like i need to read and write document to copy it.

Thanks
Krzysztof

On 2017-10-04 14:41, Florian Müller <fmui@apache.org> wrote: 
> Hi,
> 
> there is no copy operation in CMIS. There is only a
> createDocumentFromSource operation, which creates a new document with
> the content of an existing document.
> The copy method in OpenCMIS calls createDocumentFromSource with the
> properties of the source document.
> 
> So, neither OpenCMIS nor any other CMIS library can copy a document with
> its version history.
> 
> 
> - Florian
> 
> 
> > Hello All
> > 
> > I am using OpenCMIS 0.6.0 that doesnt seem to be copying version history.
> > 
> > Is there a way to copy version history with OpenCMIS?
> > 
> > Thanks
> > Krzysztof
> > 
> 

Mime
View raw message