+ Start a Discussion
Chetna AgrawalChetna Agrawal 

NotesAndAttachment' is not a valid child relationship name for entity Lead

<apex:page standardController="Lead">
    <apex:pageBlock >
    You're looking at some related lists for {!Lead.name}:

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

    <apex:relatedList list="Contacts">
        <apex:facet name="header">Titles can be overriden with facets</apex:facet>

    <apex:relatedList list="Cases" title="Or you can keep the image, but change the text" />
Steve FindlaySteve Findlay
I was able to reproduce this issue if the controller and vf page are on different API versions. Confirm that they are on the same correct API version.