----- Original Message ----- From: "Jonathan" <[EMAIL PROTECTED]>
To: "kamal hamzat" <[EMAIL PROTECTED]>; <zope@zope.org>
Sent: Friday, June 15, 2007 5:58 PM
Subject: Re: [Zope] Auto Cataloging my ZCatalog

----- Original Message ----- From: "kamal hamzat" <[EMAIL PROTECTED]>
To: <zope@zope.org>
Sent: Friday, June 15, 2007 12:51 PM
Subject: [Zope] Auto Cataloging my ZCatalog


I have a ZCatalog that my users use to catalog there news articles which are (DTML Documents). I have already explained it to them to always input the id for the new DTML Documents under "with ids" section on the Find Objects tab on the ZMI to catalog new articles. But most time they will not and they end up cataloging the entire articles which runs to 13,000 records.

What i want is either to be able to display error when the "with ids" is missing on Find Objects form or to be able to automate it. For example use a python code. I am new to python but very eager to learn.

One possible approach:

- I would not allow end-users access to the ZMI.

- Have users interact with the application through a menu driven interface

- Use a series of forms to collect data, then use python scripts/external methods to create/store objects (eg. your DTML Documents) and update the ZCatalog(s).

This sound interesting, but i do not have an idea of how to use python/ external method to create/store objects. I will appreciate if you can point me to links or articles that have treated something similar.

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to