You need to sign in to do that
Don't have an account?
Howard Iken
Creating a VF page to display a related list
I know this has been asked before and I tried my best to follow the previous suggestions. But I cannot solve this after lots of experimentation.
I created a custom object called Intake Notes that is a child of Contacts. At first I created a lookup filed based on the Contact Name. Based on my research I changed that lookup field to a Master-Detail field
I created a VF page with the following code:
<apex:page standardController="Contact">
<apex:relatedList list="IntakeNotes"/>
</apex:page>
I used the related list name that is displayed in the Master-Detail field:
Child Relationship Name IntakeNotes
I have tried other related list names as well.
No matter what I do I see the following message in the Contact detail display:
Content cannot be displayed: 'IntakeNotes' is not a valid child relationship name for entity Contact
I created a custom object called Intake Notes that is a child of Contacts. At first I created a lookup filed based on the Contact Name. Based on my research I changed that lookup field to a Master-Detail field
I created a VF page with the following code:
<apex:page standardController="Contact">
<apex:relatedList list="IntakeNotes"/>
</apex:page>
I used the related list name that is displayed in the Master-Detail field:
Child Relationship Name IntakeNotes
I have tried other related list names as well.
No matter what I do I see the following message in the Contact detail display:
Content cannot be displayed: 'IntakeNotes' is not a valid child relationship name for entity Contact
All Answers