[Zope-CMF] [HELP] Metadata & portal_catalog
Antwan Reijnen
twanus@xs4all.nl
Fri, 22 Mar 2002 20:19:31 +0100
Hi Fred,
yes, you can search on those metadata properties. Just add them to the index of your portal_catalog. The procedure is the same as described in the Zope-book. It also contains examples on how to query the catalog.
Good luck!
Antwan.
At 14:56 22-3-02 +0000, you wrote:
>Hello,
>
>I've read that using "portal_metadata" tool can fixe policie to
>manage MetaData information on content ==> Cool.
>
>I'v also read that the forms "metadata_edit_form" "and
>full_metadata_edit_form" don't show my own MetaData, i have to put
>them myself (with something like manage_addProperties...) ==> Ok.
>
>But, can i use the portal_catalog tool in order to search into these
>MetaData. Example of search : i want all of the objects that have :
> - My propertie "Product" with a certain value
> AND
> - My propertie "Compagny" with another value...
>
>In fact, i want to use these properties in my portal_catalog queries.
>Is it possible to do that ?
>
>
>Thanks in advance.
>PS : Excuse my english :-)
>Fred
>
>
>_______________________________________________
>Zope-CMF maillist - Zope-CMF@zope.org
>http://lists.zope.org/mailman/listinfo/zope-cmf
>
>See http://www.zope.org/Products/PTK/Tracker for bug reports and feature requests