AnsweredAssumed Answered

getDescription method returns null for document version

Question asked by nagababu on Jul 11, 2013
Hi,

I developed code to get document version history from document node UUID by using alfresco webservice api.

But when i am  trying to get properties of particular version then getDescription method returns null, below is my code


Reference ref = new Reference(STORE, uuid, null);

Version[] versions = getAuthoringService().getVersionHistory(ref).getVersions();

for (Version version : versions ) {
    for (NamedValue namedValue : version.getCommentaries()) {
           System.out.println(namedValue.getValue());
    }
}

I get remaining properties with values except Description…


Please give your help.

Outcomes