[Zope] Updating a ZCatalog within a DTML Method

Oliver Bleutgen Oliver Bleutgen <myzope@gmx.net>
Thu, 7 Jun 2001 11:02:16 +0200


> Hello,

> I was trying to update a ZCatalog within a DTML Method by using DTML and
> I could not figure it out how to do it.

> I have the following structure:

> MyFolder
>   |
>   |--MyDTML_Method
>   |
>   |--MyCatalog


> within the DTML Method "MyDTML_Method" I would like to update the
> "MyCatalog" using DTML so I do not need to go in the "Advanced" View of
> "MyCatalog" and click the [Update] button.

> Any what DTML Code can do this ?

You should find this information right in=20
the source of the advanced page.
=46rom what I see there, it might work like
<dtml-call "yourcatalog.manage_catalogReindex()">

cheers,
oliver