[Zope] Programmatically delete an object

David Hassalevris bluepaul at earthlink.net
Mon Dec 13 22:33:01 EST 2004


----- Original Message ----- 
From: "jlegris" <jlegris at telus.net>
To: <zope at zope.org>
Sent: Monday, December 13, 2004 4:45 PM
Subject: [Zope] Programmatically delete an object


> Hi All,
>
> I am having trouble finding an example of how to programmatically delete
> an object from a folder in Zope.
> Any info or direction in this regards would be greatly appreciated.
>
> Thanks,
>
> Joel

Joel,
Do a net search on "zope" and "manage_delete".  I have forgotten the
symantics.

Its something like:

arent-container.Manage_delete(id of the folder you want to delete)

This can be called from a python script or dtml or zpt.
David



More information about the Zope mailing list