You are not logged in Log in Join
You are here: Home » Members » Mammux » Removing ZClass Instances Programmatically

Log in
Name

Password

 

Removing ZClass Instances Programmatically

This is really simple, but it complements the information in How-To: Adding ZClass Instances Programmatically nicely and even though this function is mentioned once in the documentation, it's not documented.

To delete an instance, do something like this (if this is in a DTML method and the Id you want to delete is in the string delthisid):

<dtml-call "manage_delObjects(REQUEST['delthisid'])">