You need to sign in to do that
Don't have an account?
MaggieSumit
how to link vf page with new button of Account page??
I want set my custom vf page with New Button which available on Account page any option.
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
You need to create a VFpage where standardController should be Account .
After that any additional logic you need to put in your extension class .
Go to that button and edit it and select behaviour as you want .Then Content Souce you need to select Visual Force page . Below that contect your VF page wil visible only when your standard controller is in which object your button is .
I think it wil help you .
Thanks
Manoj
1) https://help.salesforce.com/HTViewHelpDoc?id=links_customize_override.htm
2) https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_customize_override.htm
Click Edit next to the button or tab home page you want to override.
- Pick Visualforce Page as an override type.
- Select the Visualforce page you want to run when users click the button or tab.
- When overriding buttons with a Visualforce page, you must use the standard controller for the object on which the button appears. For example, if you want to use a page to override the Edit button on accounts, the page markup must include the standardController="Account" attribute on the <apex:page> tag:
When overriding tabs with a Visualforce page, you can select only Visualforce pages that use the standard list controller for that tab, pages with a custom controller, or pages with no controller.When overriding lists with a Visualforce page, you can select only Visualforce pages that use a standard list controller.
When overriding the New button with a Visualforce page, you have the option to skip the record type selection page. If you choose this option, new records you create aren’t forwarded to the record type selection page. Salesforce assumes that your Visualforce page is already handling record types.
4 Optionally, enter any comments to note the reason for this change.
5 Click Save.
Please check below post with screen shot
1) http://www.salesforcetutorial.com/overriding-standard-new-button-vf-page/
Let us know if this will help you
Thanks
Amit Chaudhary
Please find the below screen and visualforce page:
Visualforce Page: Apex Class:
Please do let me know if it helps you.
Regards,
Mahesh
In Setup under account tab, you can see button link and action.
click on button link and action . You can see all buttons of account.
Now edit the new button choose VF page option and select your vf page and then save.
Now go to account. Click on new, it opens ur VF page.
I hope it solve your prob.
Regards,
Sourabh
Step1 :- Create VF page StandardController Step 2 :- Go to custom object
Setup-->Object-->CustomObject
Step 3 :- click on Buttons, Links, and Actions
Step 4:- Click on edit button in front of New And click on VF page and select your VF page
Let us k now if this will help you
Thanks
Amit Chaudhary