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

Problem overriding a visualforce page
Hi Everyone,
I want to override custom object new button with my visualforce page. After selecting the page to override on the custom object new button, I am getting the below error.
I want to override custom object new button with my visualforce page. After selecting the page to override on the custom object new button, I am getting the below error.
You need to set standard controller = "yourcustomobjectapinamewhichyouwanttooverride" in Apex:page tag to override.
I did that i am able to see my page in the override options but after clicking on save, I am having this error of custom validation
I can override on my developer org but if I install the same thing on other org, custom validation error occurs.
Here is my code sample:
namespaceprefix__customobject__c (available with the package) (able to override)
customobject__c (created locally) (error while overrriding)
Standard controller is customobject__c