You need to sign in to do that
Don't have an account?
Stijn Troch
Override Accounts tab with VF page
Hi guys,
I am trying to override the custom Accounts tab with a VF page. (see code below)
But when I go the override properties for the accounts tab, I cannot select my VF page as it does not appear in the list.
I know the standard controller needs to be included, which it is, but it is still not working.
Could anybody provide help on this?
Thanks
<apex:page standardController="Account" showHeader="true"
tabStyle="account" >
<apex:tabPanel switchType="client"
selectedTab="tabdetails"
id="AccountTabPanel">
<apex:tab label="Details" name="AccDetails"
id="tabdetails">
<apex:detail relatedList="false" title="true"/>
</apex:tab>
<apex:tab label="Contacts" name="Contacts"
id="tabContact">
<apex:relatedList subject="{!account}"
list="contacts" />
</apex:tab>
<apex:tab label="Opportunities" name="Opportunities"
id="tabOpp">
<apex:relatedList subject="{!account}"
list="opportunities" />
</apex:tab>
<apex:tab label="Open Activities" name="OpenActivities"
id="tabOpenAct">
<apex:relatedList subject="{!account}"
list="OpenActivities" />
</apex:tab>
<apex:tab label="Notes and Attachments"
name="NotesAndAttachments"
id="tabNoteAtt">
<apex:relatedList subject="{!account}"
list="NotesAndAttachments" />
</apex:tab>
</apex:tabPanel>
</apex:page>
I am trying to override the custom Accounts tab with a VF page. (see code below)
But when I go the override properties for the accounts tab, I cannot select my VF page as it does not appear in the list.
I know the standard controller needs to be included, which it is, but it is still not working.
Could anybody provide help on this?
Thanks
<apex:page standardController="Account" showHeader="true"
tabStyle="account" >
<apex:tabPanel switchType="client"
selectedTab="tabdetails"
id="AccountTabPanel">
<apex:tab label="Details" name="AccDetails"
id="tabdetails">
<apex:detail relatedList="false" title="true"/>
</apex:tab>
<apex:tab label="Contacts" name="Contacts"
id="tabContact">
<apex:relatedList subject="{!account}"
list="contacts" />
</apex:tab>
<apex:tab label="Opportunities" name="Opportunities"
id="tabOpp">
<apex:relatedList subject="{!account}"
list="opportunities" />
</apex:tab>
<apex:tab label="Open Activities" name="OpenActivities"
id="tabOpenAct">
<apex:relatedList subject="{!account}"
list="OpenActivities" />
</apex:tab>
<apex:tab label="Notes and Attachments"
name="NotesAndAttachments"
id="tabNoteAtt">
<apex:relatedList subject="{!account}"
list="NotesAndAttachments" />
</apex:tab>
</apex:tabPanel>
</apex:page>
Thanks
Pradeep
Mark this answer solved if this resolve your problem.
All Answers
Thanks
Pradeep
Mark this answer solved if this resolves your problem.
Below is how I am trying to override the standard tab/link.
I have created a VF page, but cannot select it in this list.
Thanks
Pradeep
Mark this answer solved if this resolve your problem.
When I override the Standard Account Tab with my custom VF Page , I could launch the page but the tab is not highlighted
Compared to other tabs which get highlighted upon selection , Overriden Account Standard Tab doesnt get highlighted ?
is it somekind of bug ?
https://ap4.salesforce.com/0666F00000AueG4/e?retURL=%2Fapexpages%2Fsetup%2FviewApexPage.apexp%3Fid%3D0666F00000AueG4%26id%3D0666F00000AueG4