[Zope] generic setup&workflow: how to add to binding??

Jean-Michel FRANCOIS jeanmichel.francois at makina-corpus.com
Mon Dec 8 06:20:09 EST 2008


Yes you can, Plone do it with generic setup.
- Register your profile (take a look at GenericSetup documentation)
- take a look here:
https://svn.plone.org/svn/plone/CMFPlone/tags/3.1.4/profiles/default/ 
(worflows.xml register the workflows, workflows folder contains them)

look like that;

 <bindings>
  <default>
   <bound-workflow workflow_id="simple_publication_workflow"/>
  </default>


  <type type_id="File">

    <bound-workflow workflow_id="myworkflow"/>

  </type>


robert rottermann a écrit :
> Hi there,
> I created a workflow product.
> now I would like this workflow *added* to the bindings of the actual workflow
> settings when the product is installed.
>
> so I have something like:
> File (Default)
> chanched to
> File (Default) MyWorklow
>
>
> I this possible?
> If yes how?
>
> thanks
> robert
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>   



More information about the Zope mailing list