14 Dec
2004
14 Dec
'04
12:58 a.m.
From: "jlegris" <jlegris@telus.net>
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.
DTML: <dtml-call "manage_delObjects(pids)"> Python context.manage_delObjects(pids) where 'pids' is a list containing the object ids to be deleted (note: if you only want to delete one object then pass either a list with only one element, or a simple variable as a list: eg. [pid] ) HTH Jonathan