• Use OKM SDK to activate Property Group Configuration

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #29240  by jllort
 
You could extend RepositoryService to get actual value and upload newer. But for it is needed doing a change in source code it's quite easy and if you got java skill you get it in few minutes.
 #29244  by Catscratch
 
Yeah, that's right. But than I got a problem if you deliver an update for the community version. Than I have to start merging the sources.

Maybe it is a good feature request to integrate some kind of plugin mechanism in openkm in the future. ;-)
 #29269  by jllort
 
In this case should be extended the API ( core ) and also REST Full webservices. We've done some testing with OSGI, but we're not sure about performance of it, that's why only at the present we consider as a test. We got some plugin to load dinamically classes ( that's used for example with Automation Actions and Validations ). If you got something we do not know for REST or API based on plugins do not hesitate to tell us, and if you provide some sample for community is always wellcome.

Finally, if you extends this methods for community, provide us, and consider are right we will include by default in source code.
 #29283  by Catscratch
 
Investigating the code I realized, that OKMPropertyGroup [1] already got a function for registering definition (registerDefinition(string, string)). That seems to be my solution.

I'm using the SDK 1.0. Unfortunately the SDK doesn't contain a method for calling the registration. Can I find the sources of the SDK somewhere? Then I can extend the regarding classes? I only got the SDK as class files.

[1] http://sourceforge.net/p/openkm/code/HE ... Group.java
 #29302  by jllort
 
At the moment the sdk java classes will not be released are as is. You can extend rest api but should access from there outside SDK. The life cycle of SDK and rest webservices will not be shared with community, is not possible, must be closed and stable under the actual and future versions of 6.3.X

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.