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

visual force pages not available for override standard button "New"
Hi
I have created one visual force page with Custom Controller
Now i want to override that page on standard button "New".
now when i click on "Override" link from setup it redirects me on proper page but there is no Visual Force pages available in dropdown list of Visual force pages.
What could be the problem?
any idea?
Thanks in Advance
I have created one visual force page with Custom Controller
Now i want to override that page on standard button "New".
now when i click on "Override" link from setup it redirects me on proper page but there is no Visual Force pages available in dropdown list of Visual force pages.
What could be the problem?
any idea?
Thanks in Advance
Yes, my problem is got solved. What do u facing in your VF page? the requirenment is:
We must use standardController and if you need to do any logical operation then you have to create apex class and use that apex class as an extensions on that vf page.
and you also need to do save/insert operation manually.
All Answers
Lal
Where i did wrong? please guide..
Yes, my problem is got solved. What do u facing in your VF page? the requirenment is:
We must use standardController and if you need to do any logical operation then you have to create apex class and use that apex class as an extensions on that vf page.
and you also need to do save/insert operation manually.
This answer is misleading. I realize that it is in line with the published API docs and all, but it _is_ possible to use a custom controller page to override a standard button. The _only_ validation happens in the page lookup, so using the following method, your custom controllers will work with standard buttons.
Obviously this is going off the official Salesforce reservation, so it may void your warranty...
Create a visualforce page with only the following markup
<apex:page standardController="[your object]" >
</apex:page>
Override the buttons.
change the content of your page to contain whatever you wanted, and using whichever controller you like.