09-12-2013 03:19 AM
Hi,
I want to use a listener to delete automaticaly old archived version (autoversionning is activated) which do not have a comment when a user increment the version. Unfortunately, the method getDescription() of VersionModel always returns a null String :
DocumentRef docRef = model.getRef();
CoreSession session = model.getCoreSession();
List<VersionModel> versions = session.getVersionsForDocument(docRef);
for (VersionModel currentVersion : versions) {
String desc = currentVersion.getDescription();
//desc is always null
...
}
Is this the good way to do or is this a bug ?
Thanks.
11-28-2013 08:54 AM
Hi,
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.