Welcome and thank you for joining our new OpenText forum. Your questions, responses, best practices, and tips shared with other members will help make this channel vibrant. We're glad you're joining us and look forward to collaborating with you online.

Check out the Getting Started With OpenText Forums for tips on personalizing your experience.

Version Labels

Hi ,Need inputs on version label.

I am having one document with following versions.. like 3.9,4.0,4.1,4.2 ,4.3
Current version is 4.3

I would like to get last major version and current version of two documents. is there any dql? ex:4.0 and 4.3

Comments

  • By default, when you run a query (DQL), it only queries current version (e.g. 4.3). If you query for r_version_label for the current version of the document, you will get 4.3, CURRENT. Getting last major version (e.g. 4.0) will require some custom code to parse string for r_version_label for ALL versions. See IDfVersionLabels() in DFC javadocs.

Sign In or Register to comment.