entry.manage_delProperties(['your_property']) entry.manage_changeProperties(your_property='new value') cheers, Chris Vinoth wrote:
Hi I am a newbie to zope. I need a sample code to perform, editing/deleting properties of zodb object I use the following code to add a file to a folder as well as properties of that. ////////////// entries_folder.manage_addProduct['OFSP'].manage_addFile(id, title="", content_type="text/plain", file=comments) # add a required properties entry=getattr(entries_folder, id) entry.manage_addProperty('name', name, 'string') //////////////// Thanks in advance, -visu
------------------------------------------------------------------------ Do you Yahoo!? Yahoo! SiteBuilder <http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com> - Free, easy-to-use web site design software
------------------------------------------------------------------------
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )