You need to sign in to do that
Don't have an account?
Tyrell Roberts 10
Default new page showing even after overriding new standard action with visualforce page not
I'm trying to override the standard new action for the Product object with a visualforce page. I create the page, and made sure to override the action in "Button, Links, and Action". However, when I click the new button on my Product detail page, which also is a visualforce page that overrides the view action, it still shows the default new action page and not my visualforce one.
Here is where I overrided the actions with visualforce pages:
Here is my visualforce page for the detail view:
And here is my visualforce page which is supposed to override the new action:
Here is where I overrided the actions with visualforce pages:
Here is my visualforce page for the detail view:
And here is my visualforce page which is supposed to override the new action:
It is not possible to override the new button of standard product object.
I would suggest you to create a custom button New ,add it on layout and remove the standard new button from layout
Hope this helps!
{! URLFOR( “/apex/ProductNew” ) } in the action attribute for new button in Product Detail view page.