cancel
Showing results for 
Search instead for 
Did you mean: 

Update Properties without updating last modification date

viktoriyamoskov
Champ on-the-rise
Champ on-the-rise

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.

1 REPLY 1

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

Hi,

You can disable behaviour of ASPECT_AUDITABLE before your process and unable after process complete.