How to get the version no thru CMIS

He we will discuss about how to make customization and improvement to the OpenKM source code.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: Thu Apr 28, 2016 3:22 pm

How to get the version no thru CMIS

Post by andy_yzj » Tue May 31, 2016 1:47 am

Thanks for @jllort's support, I know how to get the version no thru SDK (see below):

For getting the version of the document you have two options:
getDocumentProperties -> return document object and into you have the variable Version -> the name contains the actual document version
getVersionHistory -> return all the versions of a document

But now, I want to get the version no thru CMIS call.

I refer to the sample of CMIS, and tried to use getVersionLabel, the sample shows it returns the version serial. However I got the file name thru the call. Is this a bug? How to resolve this? Thanks!

May 31

Posts: 3032
Joined: Tue Dec 11, 2007 6:02 pm
Location: Alicante, Spain

Re: How to get the version no thru CMIS

Post by pavila » Mon Jul 04, 2016 7:29 am

Please, attach a full source code to reproduce the issue and I will take care of it.


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest