[Product-Developers] Re: Content Rules - Create Folder action

Martin Aspeli optilude at gmx.net
Sat Jul 5 18:23:33 UTC 2008


David Bain wrote:
> On Sat, Jul 5, 2008 at 12:42 PM, Martin Aspeli <optilude at gmx.net> wrote:
>> David Bain wrote:
>>> How do I go about creating a folder with a content rule/trigger.
>>> I see actions such as notify, copy to folder etc... but nothing like:
>>> "create folder" or "create object"
>> Take a look at
>> http://plone.org/documentation/tutorial/creating-content-rule-conditions-and-actions
>> - you'll need to create a new content rule action, but that shouldn't be so
>> hard.
>>
> too hard is relative to what you know already :).
> I think I found a nice example in mailtoplone
> http://svn.plone.org/svn/collective/mailtoplone/mailtoplone.contentrules/trunk/mailtoplone/contentrules/
> I'll go through that code as an example

Sure. :) The tutorial above explains things pretty well, I hope, and has 
an example too. I'm sure you'll figure it out.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book





More information about the Product-Developers mailing list