5 Sep
2002
5 Sep
'02
4:19 p.m.
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, {})