Jon Stahl wrote:
swank wrote:
Hello,
I need to execute some code whenever a new file is added to my folderish
content type. I was looking through the methods that are available
from the
folder.ATFolder superclass that I might be able to override, but I'm
having
a difficult time finding one that might get called upon the addition of a
file to the folder.
My questions are: does such a method exist?
if not, is there another way for my code
to get
executed?
Thanks
Craig Swank
If you're using Plone 3, you'd want to look at the Content Rules subsystem.
Alternatively - and more low-level, you may want to provide your
own subscriber to the 'ObjectAdded' event.
Raphael
best,
jon
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers