You are not logged in Log in Join
You are here: Home » Members » chrisw » Doing something to all objects of a given Meta Type

Log in
Name

Password

 

Doing something to all objects of a given Meta Type

Say you want to do something to all objects of a given metatype, like update
them for example, you can do this in a Python Script (I used an External
Method, but they should be the same):

stuff = context.ZopeFind(context,obj_metatypes=['Squishdot Site'])

Stuff is now a list of tuples. Each tuple is of the form
(object_id,actual_object)