quintagroup.catalogupdater

quintagroup.catalogupdater allows controlled ZCatalog object updating. It is intended for extending ZCatalog API with possibility to update selected columns only. This package registers 'catalog_updater' utility for that.

To simplify usage of the utility, quintagroup.catalogupdater extends GenericSetup's ZCatalog XMLAdapter handler, which allows to update attribute usage in column tag of catalog.xml file. So, when you add a new column to the catalog, you add catalog.xml file in some profile with following part:

column value="new_column" / 

This adds new_column metadata to the portal_catalog, BUT, this metadata will be empty untill you rebuild the catalog. To automate this step you can add 'update="True"' attribute to the tag. And this will lead to column update after adding. Thus, result usage should look like this:

column value="new_column" update="True" / 

This packages also supports subtransactions, based on threshold property of ZCatalog.

Supported Plone versions

  • Plone 3.x
  • Plone 4.0

Author

Andriy Mylenkyy

Links

Help us improve

With your help we will continue develop and improve this product in the future:

  1. Leave a testimonial for us to know that you like our product
  2. If you are interested in contributing to this product please submit this form and we will provide you with SVN access
  3. Order product customization or its implementation on your website
Follow