[Zope] Re: Load a document in ExternalMethod

Maik Jablonski maik.jablonski@uni-bielefeld.de
Tue, 06 May 2003 14:49:27 +0200


Fabio Rolando wrote:
> I have some ZCatalog search results. I pass the 'data_record_id_' to an 
> ExternalMethod in which I need to load the documtent referenced by the 
> 'data_record_id_' in order to parse it. I tried a few versions of 
> gettitem and getattr, but I've not been successfull. Any merciful help? ;-P

Hi,

Something like

  self.Catalog.getobject(data_record_id_)

in your External Method should give you the object.

Cheers, Maik