Page 1 of 1

core extension doesn't work

PostPosted:Sat Dec 12, 2015 8:18 pm
by khpavel
Hello!
I've tried to create extension as described here http://wiki.openkm.com/index.php/Core_extensions
But nothing happens.

Below my steps:
I create Java project
create package com.openkm.sample.extension
create class MyDocumentExtension with code from example
create Jar and put it into tomcat/plugins
restart tomcat
try to add pdf file into path /okm:root/forbidden/
file added successfully and nothing else.

I try to use extension in openkm-dev.

What can be wrong?

Re: core extension doesn't work

PostPosted:Tue Dec 15, 2015 8:08 pm
by jllort
First of all apologies for our bad documentation. We are working on replacing our current wiki.openkm.com for http://docs.openkm.com/kcenter/ ( but we still have not finished on it ). Unfortunatelly this class is deprecated and only was working on OpenKM version 5.x

Do you want to execute actions based on events is that ? you should take a look at these urls :
http://wiki.openkm.com/index.php/Automation
http://wiki.openkm.com/index.php/Extend_automation_6.0
http://wiki.openkm.com/index.php/Enable_automation