18 Jun
2001
18 Jun
'01
12:23 p.m.
I tried <dtml-call catalogReindex('MyZCatalog')> , but that does not work.
This does not work. DC wrote methods for the management interface only. :-( The only thing you can do is: <dtml-call "MyZCatalog.manage_catalogReindex(REQUEST, RESPONSE, URL1)"> But then you will be redirected to the management screen of the catalog, so you will have to add another <dtml-call"RESPONSE.redirect('NewURL')"> to override that. So the complete code would be: <dtml-call "MyZCatalog.manage_catalogReindex(REQUEST, RESPONSE, URL1)"> <dtml-call"RESPONSE.redirect('NewURL')"> (Not really what people would call comprehensible DTML code ...) Cheers Joachim