[Zope] Get Access to Object from its record in the ZCatalog
J Cameron Cooper
jccooper@jcameroncooper.com
Thu, 06 Mar 2003 17:14:36 -0600
>
>
>I'm pulling my hair out here. I'm sure the answer is simple.
>
>How can I get to properties of an object from its ZCatalog entry?
>
>I'm iterating through results, and want to do something special if the
>result is a record for a PDF file. I know how to check the file to see
>if its a PDF, but ZCatalog does not keep track of all the file contents.
>I know there is a way to resolve the record ID into the actual object,
>but I forget how and cannot find a reference to it.
>
>
Maybe this will help:
http://www.zope.org/Members/jccooper/zcatalogAndPT
I'm sure you can translate from ZPT to Python.
--jcc