0 Replies Latest reply on Jan 24, 2008 4:44 PM by 443756

    How do I retrieve the properties of a Version?

      I am trying to bring back all of the information about a document version, such as DESCRIPTION, CATEGORIES, etc. But when I do the following:

      AttributeRequest[] attr =
      CsUtility.newAttributeRequestArray(new String[] {Attributes.DESCRIPTION,
                     Attributes.CATEGORIES, });

      Item[] versions = manager_.getVersionManager().listVersions(doc.getId(), null, attr);

      I don't get back the DESCRIPTION or CATEGORIES on that version. What am I doing wrong?