Update Properties without updating last modification date

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
viktoriyamoskov
Active Member

Update Properties without updating last modification date

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
sanjaybandhniya
Senior Member

Re: Update Properties without updating last modification date

Hi,

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