How to create instance of a Zclass w/ python script ??
Hello Zopers ! Here's my situation I created a very basic products wich holds a Zclass. (Contact) I want to create many instances in one shot, so I wrote a small python script (no external method) to set the properties. The thing is I don't seem able to trigger the creation of the object Tried: Contact.CreateinObjectManager(id,REQUEST) => no Products.Contact.CreateinObjectManager(id, REQUEST) => no Any help appreciated
Nicolas LAURANCE writes:
... I want to create many instances in one shot, so I wrote a small python script (no external method) to set the properties.
The thing is I don't seem able to trigger the creation of the object
Tried: Contact.CreateinObjectManager(id,REQUEST) => no Products.Contact.CreateinObjectManager(id, REQUEST) => no
obj= destination_objectmanager.manage_addProduct[your_product].Contact.CreateInObjectManager(...) Dieter
participants (2)
-
Dieter Maurer -
Nicolas LAURANCE