• How to get the version no thru CMIS

  • He we will discuss about how to make customization and improvement to the OpenKM source code.
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.
 #41842  by andy_yzj
 
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!

Regards,
Andy
May 31
 #41995  by pavila
 
Please, attach a full source code to reproduce the issue and I will take care of it.

Regards.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.