+ Start a Discussion

Overriding the Delete functionality

I am trying to override the delete functionality which will allow the non admin users to delete the record.
Currently non admin users are able to delete records which are created by them only.
I am trying to do this by providing a custom button and a scontrol using the delete Api.
Is there any other of doing this apart from changing user permissions.
Any help would be appreciated.

Message Edited by Naresh.T on 10-08-2007 02:03 AM

You could create a button and bind it to an apex webservice which calls delete since that operation will run as the system it would effectively bypass the user restriction but I would question why approaching this from a user permission change is not sufficient.