0 Replies Latest reply: Jan 24, 2008 10:44 AM by 443756 RSS

    How do I retrieve the properties of a Version?

    443756
      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?