8 Jan
2002
8 Jan
'02
5:55 p.m.
<snip>
I use this approach because I have already the function which does 2). Now I browsed through the ObjectManager API, but I cannot find a way to delete a certain child-object. How can I do that?
Assuming 'parent_folder' is a variable holding the parent folder object of what you are trying to delete and 'id' is the id of what you want to delete, I think this is what you want... parent_folder.manage_delObjects(id)
From what it says in the ZQR, I think you can pass in a list of id's to do multiple deletes in one go. You can find the ZQR here http://www.zope.org/Members/ZQR/zqr/normal in case you haven't come across it yet.
tim