+ 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.