AnsweredAssumed Answered

OpenCMIS: Update content stream without versioning?

Question asked by pco on Dec 12, 2014
Latest reply on Dec 15, 2014 by afaust
Hi, folks,

using OpenCMIS (0.12.0) I'd like to replace the content of an pre-existing document with new content. The reason for this is that we do not want to waste a lot of disk space in this particular use case.

I was planning to use the Document.setContentStream method for this. Unfortunately it turns out that alfresco creates a new version and retains the original content every time I use this method.
I had expected, that this happens only when I use then checkOut / checkIn approach. Otherwise checkin / checkout and setContentStream do effectively the same (nearly).

I am quite sure that Alfresco's auto-versioning has to do with his. The thing is, that generally I like auto-versioning (in Share for example) - it's just not what I want for CMIS.

Any pointers?