AnsweredAssumed Answered

Update Properties without updating last modification date

Question asked by viktoriyamoskovkina on Mar 21, 2019
Latest reply on Mar 23, 2019 by sanjaybandhniya

Good day.

I am developing a Java application that uses OpenCMIS to communicate with the Alfresco repository. When I update the document properties

<java>

...

document.updateProperties(properties);

</java>

or create new version

<java>

...

id = document.checkIn(false, properties, contentStream, "New Version Commit");

</java>

 

the last modified date (cmis:lastModificationDate) is always updated.

 

Is there a way not to update the last modified date if the properties remain unchanged?

Thanks.

Outcomes