[Zope] Automatic Cataloging

Tom Von Lahndorff tom at modscape.com
Sat Jun 9 14:09:15 EDT 2007


Hi,

I have a zCatalog installed and I'm trying to automatically catalog  
an object and it's properties using:

<dtml-with "manage_clone(base_business,newid,REQUEST)">
<dtml-call "manage_changeProperties(
title=REQUEST['business_name'],
business_name=REQUEST['business_name'],
business_company=REQUEST['business_company'],
business_street=REQUEST['business_street'],
business_town=REQUEST['business_town'],
business_county=REQUEST['business_county'],
business_state=REQUEST['business_state'],
business_zipcode=REQUEST['business_zipcode'],
business_phone=REQUEST['business_phone'],
business_website=REQUEST['business_website'],
business_email=REQUEST['business_email'],
)">
</dtml-with>
<dtml-call "zCatalog.catalog_object(business_name,newid)">

The zCatalog has indexes and metadata:
business_name
business_company
business_street
business_town
business_county
business_state
business_zipcode
business_phone
business_website
business_email

The object does get cataloged with the "newid" but none of the  
indexes or metadata get updated.
Thanks in advance.

Tom



More information about the Zope mailing list