• auto delete files on upload

  • 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.
 #41263  by deranjer
 
I there a way to automatically delete files on upload? I batch upload from zip file and need to automatically delete thumbs.db when it is uploaded.
 #41271  by jllort
 
You can doing it with automation ( events ) based on document creation. Take a look at these url:
http://wiki.openkm.com/index.php/Automation
http://wiki.openkm.com/index.php/Enable_automation
http://wiki.openkm.com/index.php/Extend_automation_6.0

I suggest you download openkm portable what comes with some sample http://sourceforge.net/projects/openkmportabledev/
 #41275  by deranjer
 
Yes, unfortunately the automation doesn't work like I assumed it would, I did a validation of "NameContains" and added an action of "AddKeyword" of "delete" but does not appear to work. Since it is just me using OpenKm, does not seem worth the effort.
 #41290  by jllort
 
Should not be necessary restarting service to take it running, I suspect there was something else. You can debug your validation and action classes and also the AutomationManager -> method getValidActions

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.