[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Zope] setting properties for multiple objects


You can abuse ZopeFind for this. Click on the Find tab of a folder, click on 
"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 search. 
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=='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 for 
multiple objects at the same time? (say, all objects in a
> directory?)
> 
> is there a zope product that does something this?
> 
> thanks!



_______________________________________________
Zope maillist  -  Zope@xxxxxxxx
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )



This mailing list archive is a service of Copilotco.