[Zope] Finding and Mass-renaming objects

Sinang, Danny D.Sinang at spi-bpo.com
Mon Jul 31 22:02:58 EDT 2006



> Look at the ZopeFind() and/or ZopeFindAndApply() methods as defined in
OFS.FindSupport.

I've tried ZopeFind() and it can indeed find the objects I'm looking
for.

Am now trying to use ZopeFindAndApply() to find and rename the objects
found using "manage_renameObject()". 

However, since manage_renameObject() renames subobjects, I think I need
to determine the parent-object or container of the found objects.

Would anyone here know how to do so or suggest an alternate way of
renaming these objects ?

Regards,
Danny



More information about the Zope mailing list