Newer Version Available
Overriding Tabs Using a Standard List Controller
Pages that use standard list controllers can be used to override
tabs. For example, if you create a page named overrideAccountTab that is associated
with the Account standard list controller:
Then, you can override the Account tab
to display that page instead of the standard Account home page.
1<apex:page standardController="Account" recordSetVar="accounts" tabStyle="account">
2 <apex:pageBlock >
3 <apex:pageBlockTable value="{!accounts}" var="a">
4 <apex:column value="{!a.name}"/>
5 </apex:pageBlockTable>
6 </apex:pageBlock>
7</apex:page>- From the object management settings for accounts, go to Buttons, Links, and Actions.
- Click Edit for the Accounts Tab.
- From the Visualforce Page drop-down list, select the overrideAccountTab page.
- Click Save.