7 Feb
2001
7 Feb
'01
12:10 p.m.
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