[Zope-CMF] manage_addContent error

David Chandek-Stark dc at duke.edu
Mon Oct 20 17:41:09 EDT 2003


Why do I get an attribute error when calling manage_addContent in a 
python script? As far as I can tell, I'm doing the same thing as adding 
CMFDefault Content from the ZMI.

If the script lives in Portal Folder 'foo', I should be able to create 
in the folder a Portal File 'bar' thusly(?):

container.manage_addContent('bar', 'Portal File')

Thanks!
David

[Zope 2.6.1/Python 2.1.3/CMF 1.4.1]
-- 
David Chandek-Stark
dc at duke.edu




More information about the Zope-CMF mailing list