Skip to Content
0
Former Member
Mar 28, 2006 at 08:57 PM

Modifying KM Document Upload IView

14 Views

Hi all...

I am currently trying to modify the behavior of the km upload iview, in a way that I can skip the mandatory properties check of the target folder in the repository, and so I can set up all the resource properties via Java code (with utility classes I have already develop and test that can read them from the file stream and set them on the km resource). At the beginning I tried to develop a KM repository service which can listen for the resource creation event (CREATE_CHILD_TEMPLATE), but this resource event is triggered just after the property check; After that, I tried to decompile (through jrevpro) and modify the behavior of the upload command class, but this seems not to be the best way on solving this since decompiled classes are not ok.

I have read some other threads which tells that I can create a new upload command, but I really don’t know how to achieve this.

Please, any comments would be just great!

Regards

Jonathan