Question:

Visualforce customization isn't displaying multiple fields

Ryleigh: 5 days ago

enter image description hereI am using the following VF page for Lead related List VF page and it is not working

{
<apex:page standardController="Lead">
  <apex:relatedList list="Campaign History" />
  <apex:relatedList list="Opportunities" />
  <apex:relatedList list="Activity History" />
  <apex:relatedList list="Notes" />
  <apex:relatedList list="Open Activities" />
</apex:page>
                }

Answer:
Sebastian: 5 days ago

The reason for this issue is that the relatedList is not named "Campaign Histories"

Use:

<apex:relatedList list="CampaignMembers"/>

apex:relatedList list= values have to be valid relationship names taken from the schema. The friendly name as shown to the user is confusingly only tangentially related to the real relationship name.

enter image description here