You need to sign in to do that
Don't have an account?
EricVlach
can't override button. what am I doing wrong?
I have a custom object for which I want to override the standard 'new' button with a visualforce page.
My visualforce page is created, but when I go to override, the page isn't in the list! What step am I missing? I am baffled. This is in my developer edition.
screencast of my steps:
http://screencast.com/t/9yG27DxgouD
Message Edited by EricVlach on 11-13-2008 12:30 PM
My visualforce page is created, but when I go to override, the page isn't in the list! What step am I missing? I am baffled. This is in my developer edition.
screencast of my steps:
http://screencast.com/t/9yG27DxgouD
Message Edited by EricVlach on 11-13-2008 12:30 PM
See the docs for more info on the standard list controller feature.
I wanted to follow up on this: you actually can get it to stick by first writing your VF page referencing a standard controller, associate it with the override, then change it to use the custom. The override will stick. But of course, since package deployment loses all the overrides (vote for that to change here) it probably doesn't matter in the end.
But this leads to the question: how exactly should we be using custom controllers, if we basically can't use them in VF pages overriding standard actions.
Hi,
I know your post is too old, but I don't know if you have solved it.
If you still have the problem, check this link
http://www.salesforce.com/us/developer/docs/cookbook/Content/vf_conditional_page.htm
It'll help you. The problem you have is the way you're making your page without this three properties standardController,
extensions and action
Best Regards