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
Jim BoudreauxJim Boudreaux 

<apex:relatedlist list="?"/>

I want to display on a visualforce page the standard related lists that come with a Contact.

So far I've succeeded with:

 

  <apex:relatedList subject="{!contact}" list="openactivities"/>
  <apex:relatedList subject="{!contact}" list="notesandattachments"/>

 But darned if I can figure out the list name of HTML Email Status or Activity History. Is there some way of ascertaining the Child Relationship name of a given standard related list? Because I assure you, 

 

 

  <apex:relatedList subject="{!contact}" list="activityhistory"/>
  <apex:relatedList subject="{!contact}" list="htmlemailstatus"/>

 does not work.

 

beameupbeameup

Use <apex:relatedList list="activityhistories" /> for the Activity History related list.  I wish these were better documented or more easily discovered.