Here's a code snippet from one of our applications (you should be able to figure out what you need from this example):
<dtml-with "TCAUsers.createInObjectManager(REQUEST['clientid'], REQUEST)">
UserData is a folder where new zclass instances are stored.
TCAUsers is our zclass
TCAUsersPS is the common instance propertysheet for the zclass
All of the property fields/values are stored in REQUEST (as a result of a user filling in an html form)
We call reindex_object because our zclasses are 'catalog aware' and we are reindexing the catalog.
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )