function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Trying to add the EVENT HISTORY tab to tabbed accounts 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:



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 label="Activity History" name="activityHistory" id="tabAH">

         <apex:relatedList list="ActivityHistories" />


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

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




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