05-26-2020 11:51 AM
Hello everyone!
I'm using org.apache.chemistry.opencmis.client.api.Document to create a new version of a file.
Here is my code
doc.refresh(); ObjectId idOfCheckedOutDocument = doc.checkOut(); Document privateWorkingCopy = (Document) getCmisSession().getObject(idOfCheckedOutDocument, op); ObjectId objectId = privateWorkingCopy.checkIn(isMajor, null, contentStream, rev); doc = (Document) session.getObject(objectId);
The new version has been correctly created but the cm:modifier of the old version has been changed with the same user that create the newer.
Why??? How can I maintain the original modifier in the old version?
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.