[Zope] Adding instances of objects using manage_addProduct()

Chris Withers lists at simplistix.co.uk
Mon Mar 1 15:19:04 EST 2004


post at volker-hemmelrath.de wrote:

> But now I want to add dynamically a Product called 'ExtFile/ExtImage'
> (perhaps you know it).
> I downloaded and installed it. It works find within ZMI.
> I tried the following in the external method:
> 	self.manage_addProduct['ExtFile'].manage_addExtImage('xxx', 'XXXX', 'test
> xxx', '/home/volkerh/zope/IMGP0377.JPG', '', 'image/jpeg',0,'','', 0,0,None)
> 
> That does not work.
   ^^^^^^^^^^^^^^^^^^^

Try expanding on this rather useless statement. Exception? Type? Value? traceback?

cheers,

Chris




More information about the Zope mailing list