Hello I use Open CMiS on server side, so can use browser binding unfortunately. AtomPub is my only option, correct me if i am wrong, please.
Krzysztof On 2017-10-06 11:42, Florian Müller <[email protected]> wrote: > Hi, > > you are right and wrong. ;-) > The AtomPub binding does not support createDocumentFromSource. But the > OpenCMIS high-level API handles that for you. You should only see an > exception if you are using the low-level API. > Apart from this, use the Browser binding whenever you can. It's faster. > > > - Florian > > > > 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 <[email protected]> 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 > >> > > >> >
