[Zope] String to object ID
Michel Pelletier
michel@digicool.com
Tue, 7 Dec 1999 12:04:50 -0500
> -----Original Message-----
> From: Art Hampton [mailto:arth@pacsg.css.mot.com]
> Sent: Tuesday, December 07, 1999 11:24 AM
> To: Evan Simpson
> Cc: zope@zope.org
> Subject: Re: [Zope] String to object ID
>
>
> Thank you!!!
>
> I've been trying to figure out how to fetch a non-meta-data property
> from catalog search results. Thanks to your script, I can do so after
> doing catalog.getpath(data_record_id_).
>
> If there's a cleaner way to do this, I'm open to suggestions.
Not really. The catalog returns record objects that represent real
objects, not the real objects themselves. I've toyed with the idea of
having record objects have a computed attribute but there would have to
be some thinking done to make it most useful.
-Michel