[Zope] setting properties for multiple objects
Casey Duncan
casey@zope.com
Wed, 1 May 2002 13:43:34 -0400
You can abuse ZopeFind for this. Click on the Find tab of a folder, click=
on=20
"advanced..."
In the expression field enter something like:
setProperty('propertyname', 'value')
This will call the above for all objects in the folder when you do the se=
arch.=20
No results will appear, but it will have touched all of the objects.
If you want to do it for only one type of object try:
meta_type=3D=3D'some type' and setProperty('propertyname', 'value')
hth,
-Casey
On Wednesday 01 May 2002 12:59 pm, Russell Uman allegedly wrote:
> is there any way with a vanilla zope 2.5.1 install to set a property fo=
r=20
multiple objects at the same time? (say, all objects in a
> directory?)
>=20
> is there a zope product that does something this?
>=20
> thanks!