function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Unable to override standard button or create custom button



 I have create a new VF page using  a custom controller.  While trying to override a button using VF I do not see the VF page in the dropdown list to select. I do not see it even while trying to create a custom button.


What is the problem? Why am I not able to do this?


But the page is there and works as per the need





Hi KD,


You need your visualforce page to reference the standardcontroller of the object where you want to have this button. More can be found here under step 5. You can use an extension to reference your custom controller.


Hope that helps,