[Zope] Problem to add an Instance of my own product
Chris Withers
chrisw@nipltd.com
Wed, 07 Feb 2001 12:10:46 +0000
Steffen Bergmann wrote:
>
> I have just created a new product in ZOPE. Everything is great, but how
> I can add an instance of this
> product without using the management-screen of ZOPE. I want to add a new
> instance with properties in any folder I like using DTML.
Don't use DTML, use a Python Script!
something like:
context.<your products add method here>('new_id',<etc>)
new_object = getattr(context,'new_id')
new_object.<manage_your_properties_here>
cheers,
Chris