AnsweredAssumed Answered

How to add a aspect to a folder to monitor content creation

Question asked by silverhoof on Nov 26, 2012
Latest reply on Nov 28, 2012 by mikemars
I want to create an aspect that can be applied to a given folder.
This aspect's purpose is to monitor the content creation inside the applied folder. Which means I tried to define some behavior in the aspect to fire my custom logic when content is created inside the folder.
But my test code found that the we can't get event when files are created in a aspect allied folder. When I create a file under the folder, only the "beforeUpdateNode" event is triggered, but other event doesn't get the call back. I assumed that the "onCreateChildAssociation" will be triggered…

We want to find a way to monitor the created file in a folder through add behavior through aspect, please help me if you know how to do this, thanks a lot.