• Metadata on each document in folder

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
 #50132  by ajanquart
 
Hello,

Is it possible to create metadata fields with fixed values in all the documents in a folder.
When creating a new document, we then can add predefined values as metadata.

Thanks in advance

Greetings

Lainkes
 #50145  by jllort
 
Yes, might be done with automation action. But you should build your own automation action.

Here the documentation you should read:
https://docs.openkm.com/kcenter/view/ok ... ugins.html
https://docs.openkm.com/kcenter/view/ok ... ation.html

Take a look at how the built-in Automation actions are done in OpenKM, might inspire you
https://github.com/openkm/document-mana ... ion/action

Also, I suggest take a look at BaseDocumentModule.java ( where the automation is called ) to understand the pass of the vars across the env mapping
https://github.com/openkm/document-mana ... odule.java

You should use ( addGroup and setPropertiesSimple) https://docs.openkm.com/kcenter/view/ok ... group.html

Finally, for it you should be interested in configuring the openkm personal development environment https://www.openkm.com/en/download.html ( there's a video what explains how to install ). It comes as a VM with everything ready to be used

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.