How to update mix:versionable node property

180 Views Asked by At

I am using jack rabbit OAK implementation for CMS, where I am versioning some file nodes using below code:

session.getWorkspace().getVersionManager().checkout(file.getPath());
// operation for saving file content and setting file node properties
session.getWorkspace().getVersionManager().checkin(file.getPath());

By using above, I have created 3 version of particular file with setting their custom properties, i.e; 1.0, 1.1, 1.2. Now I want to update some property values from version 1.1 How to update versionable node property value using jack rabbit OAK implementation?

0

There are 0 best solutions below