[Zope] Programmatically adding my product

Damon Eckhoff eckhoffd@missouri.edu
Wed, 21 Aug 2002 11:56:55 -0500


Hey All,

I have a product, MyProduct, and am not able to add it programmatically.

For Example.. inside a python script I do:

folder_id = "yada"
folder_obj = getattr( container, folder_id )
folder_obj.manage_addMyProduct( id, title, etc )

This raises an AttributError with value of 'manage_addMyProduct'.  I can
add/edit/view my product from the ZMI without any problem.  I'm stumped,
could someone help?  I have no idea what direction to pursue on this one.

Damon.