• Capture a copy of uploaded files?

  • 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.
 #49155  by tommp
 
Hi!

When a file is uploaded into OpenKM is there a method to capture a copy of that file and store it in a folder in its native format outside of the OpenKM application? We are new to OpenKM so it might be obvious to experienced users...

Thanks!
Tom
 #49160  by jllort
 
May be done with Automation, the idea is intercept the "document creation" and in post stage duplicate the content in the way you wish. For it you need to reading:
https://docs.openkm.com/kcenter/view/ok ... ction.html
https://docs.openkm.com/kcenter/view/ok ... Properties ( to get the document properties path etc... )
The document bean ( https://docs.openkm.com/apidoc/com/okm/ ... ument.html )
https://docs.openkm.com/kcenter/view/ok ... ml#getName ( to document name from the path )
https://docs.openkm.com/kcenter/view/ok ... getContent ( when you have the stream is in your hand writing in the files system in the manner you decide )

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.