• Stijn Troch
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
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>
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>