[Zope-CMF] Query portal_catalog for current object?

Dieter Maurer dieter@handshake.de
Mon, 28 Jan 2002 21:03:00 +0100


Jon Edwards writes:
 > Is it possible to query the portal_catalog to find info on a specific
 > object, when you are viewing/editing that object? Something like -
 > here.portal_catalog(this_item_id).Site
You may use a "Path" index, provided it works now.

   In earlier Zope versions, the "Path" was always catalogued as "None".


Dieter