Thank you for the suggestions. I ended up subscribing to the AddObjects event.
Since I have now learned about this, I can stop ignoring those depreciation warnings that I've been seeing for months that tell me to use event subscribers. Thanks again for pointing me in the right direction. Craig Swank 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 > -- View this message in context: http://www.nabble.com/Calling-a-function-on-the-addition-of-content-to-a-folderish-type-tp15124810s20094p15145075.html Sent from the Product Developers mailing list archive at Nabble.com. _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
