+ Start a Discussion
studzeystudzey 

Trying to add the EVENT HISTORY tab to tabbed accounts view....help please!

Hi guys,

 

 

I recently updates some tabbed views with a visual force page (using tabbed accounts). I can now see, for the custom objects the following tabs:

 

Details

Open Activities

Activity History

Notes and Attachment

 

 

The code looks like this :

 

<apex:tabPanel tabClass="activeTab" inactiveTabClass="inactiveTab"

        switchType="client" selectedTab="tabdetails" id="AccountTabPanel">

      <apex:tab label="Main Warehouse Details" name="contractDetails" id="tabdetails">

         <apex:detail inlineedit="true" relatedList="false" title="true"/></apex:tab>

      <apex:tab label="Open Activities" name="OpenActivities" id="tabOpenAct">

         <apex:relatedList subject="{!Warehouse__c}" list="OpenActivities" />

      </apex:tab>

      <apex:tab label="Activity History" name="activityHistory" id="tabAH">

         <apex:relatedList list="ActivityHistories" />

      </apex:tab>

      <apex:tab label="Notes and Attachments" name="NotesAndAttachments" id="tabNoteAtt">

         <apex:relatedList subject="{!Warehouse__c}" list="NotesAndAttachments" />

      </apex:tab>

     

 

Im trying to add an Event History tab to this list above.  Do you perhaps know how to do that?