Pages like the standard account detail page have buttons, such as Edit and Delete. You can add a new button here that links to your page.
- Click .
- In Custom Buttons and Links, click New.
- Enter MyButton for the Label.
- Enter My_Button for the Name.
- For the Display Type, select Detail Page Button.
- Select Visualforce Page in the Content Source picklist.
- In the Content picklist that appears, select your accountDisplay page.
- Click Save.
- Now that you have your button, you need to add it to a page layout. Repeat the process from Step 2: Embed a Page on a Standard Layout but, instead of selecting a Visualforce Page, add a Button, and select MyButton.
You can use a similar procedure to create a link, instead of a button, and you can add many buttons and links to standard and custom pages to create just the right navigation and user interface for your app.
No comments:
Post a Comment