[Zope] Programmatically creating instances of a ZClass
Borislav
borislavd@gmx.net
Thu, 05 Sep 2002 11:19:15 -0500
Ok, we are on the right track here...
After I create the object with:
container.manage_addProduct['MyProduct'].MyProduct_add(id='myBeautifulObject')
I can get the object id with:
container.objectIds()
However, the object does not appear if I browse the container through
the ZMI. Is there an additional step, maybe setting some object
properties, so that the object appears in the ZMI?
Gouzy Nicolas wrote:
> Sorry, write:
> obj=context.MyProduct.createInObjectManager(id, {})
>