I have overridden the standard "View" of the Account detail page with a custom Visualforce page. When I need to display the Account detail page, I use the "nooverride=1" parameter in the URL to display it and bypass the override.

I have also overridden Salesforce’s standard Delete link in a Related List of the Account detail page, by creating a second Visualforce page.

The problem I am having is, when I clicked the overridden Delete link in the Related List, the second Visualforce page is never called. The standard Salesforce Delete was called instead. I think this is happening because the Account Detail page was displayed with the “nooverride=1" parameter. Thus, no overrides were allowed (and my overridden Delete link in the Related List was not called).

Can someone give me some pointers as to how to call the overridden Delete link on a Related List, when the Delete link is clicked? Any help would be greatly appreciated!


  • Please expose the relevant portion of your VF page
    – cropredy
    Nov 27, 2014 at 5:18

1 Answer 1


Maybe you can hide the delete botton and create a custom delete button instead?

  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post.
    – highfive
    Nov 27, 2014 at 7:35
  • @highfive Actually I think what @ ling is proposing will solve the problem, since the custom button will call the delete-vf page without override.
    – Uwe Heim
    Nov 27, 2014 at 9:23
  • Agreed @UweHeim. I think as ling is giving an suggestion good to move this as a comment and if it helps then can give a detailed answer.
    – highfive
    Nov 27, 2014 at 9:32
  • @ling, creating a custom delete button will work, but the standard Del link will still be there on the Related List. Does anyone know of a way to hide the Del link? Nov 28, 2014 at 14:59
  • I guess there is not a way to override anything on a detail page, if the detail page is displayed by using"nooverride=1" parameter in the URL. If anyone know of a way, please let me know. Thanks. Nov 28, 2014 at 15:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .