[SalesForce] Override Standard Button or Link does not show the VisualForce page

I'm attempting to override the New button for a custom object. I have the attribute standardController= set to the API name of the custom object. When I edit the behavior of the new button for the object, I do not see my VisualForce page in the drop down to select.

What could be wrong?

Best Answer

You need to make sure the page tag is set up correctly, something like this:

<Apex:page standardcontroller="MyCustomObject__c" >

You also need to make sure that the page is visible to the user, in the security section of the page, and that the user has create permission on the custom object.