AnsweredAssumed Answered

Folder 'Watchdog'?

Question asked by gerhardk on Dec 12, 2012
Latest reply on Dec 12, 2012 by mitpatoliya

My problem: I want do create some sort of, call it "watchdog".
In my content model i have a special Type("specialFolder") inherited from cm:folder and another Type("specialType") inherited from cm:content.
Now i want to create a solution, that allows only the "specialType" to be stored into "specialFolder", and no other types.
I tried to do this by creating a behaviour which is bound to "specialFolder", but it seems, that behaviours only react to the active type.
Binding cm_content to the onCreateNode-Behaviour is not that good idea - i already tried :)

What I want to do in simple: Watch specialFolder about incoming content and reject if type is not "specialType", otherwise store it.

[Edit]  this should be done in Java-Code - and not with rules in Share[/Edit]
Has anybody an Idea about it?
Thank you for your help!

BR Gerhard