You need to sign in to do that
Don't have an account?

standard controller function [delete]
Hi,
http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_std_actions.htm
In this link, delete method is there, but when I m using this method with custome object, it is not working.
Is there any replacement for this functionality over there?
Hi,
I think you would not change the standard controller, In sample code it is "Account".
But when you are using delete for custom object then standard controller must be change.
Let your custom object API name is "myObject__c" then stnadard controller must be myObject__c.
Ok just confirm, if you use the command button Action to delete, you need the object id in form of
id=Objectd
in the URL
if you have no id, it won't display the delete button.
Please check and let me know.