--On 24. Juni 2006 22:06:39 +0800 "Sinang, Danny" <[EMAIL PROTECTED]> wrote:

'jobname' is added as *metadata* to your catalog?

Not sure if using manage_addProperty () to add jobname is equivalent to
adding it as *metadata* .


manage_addProperty('jobname', 'ABC12345', 'string')


This add a property to an object but it has nothing to do with adding *metadata* to a ZCatalog instance. Please read the ZCatalog chapter of the Zope Book 2.7 edition. It carefully explains what *metadata* in the ZCatalog context means. The short version: a Zcatalog search returns *proxy* objects and the attrs of the proxy object contain only the values of the original object where you have configured a metadata in the Zcatalog.


ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting

Attachment: pgpMN0HJcxRNC.pgp
Description: PGP signature

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

Reply via email to