• Saravanan_Cho
  • NEWBIE
  • 85 Points
  • Member since 2012
  • Senior Technical Consultant
  • Accenture

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 4
    Replies

Hi,

 

I am trying to add the Notes and Attachments Section on my Visualforce Page and I keep getting the error as below:


'NotesAndAttachments' is not a valid child relationship name for entity Test Object

 

I used   <apex:relatedList subject="{!Test_Object__c}" list="NotesAndAttachments"/>

 

Can someone please suggest or point out my mistake.

 

Thanks!

Keep struggling with this issue for days.

In every custom object that has a "view" visualforce page when I try to add the 'NotesAndAttachments' as a related list I have the error "'NotesAndAttachments' is not a valid child relationship name for entity". I have added the  'NotesAndAttachments' related list to the Standard Page Layout  and I am using the following code line in the visualforce page :

 

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

 

Am I missing anything?

Please let me know of your thoughts.

  • October 21, 2013
  • Like
  • 0

Hi,

 

I am trying to add the Notes and Attachments Section on my Visualforce Page and I keep getting the error as below:


'NotesAndAttachments' is not a valid child relationship name for entity Test Object

 

I used   <apex:relatedList subject="{!Test_Object__c}" list="NotesAndAttachments"/>

 

Can someone please suggest or point out my mistake.

 

Thanks!

Hi,

 

When I am trying to display the NotesAndAttachments on the visualforce page i am getting the above error

I have used the following tag to display NotesAndAttachments on the page. Kindly do needfull asap.

 

<apex:relatedList  list="NotesAndAttachments"  title="Request For Proposal(RFP)" subject="{!QIF_API__c.id} />

  • September 18, 2013
  • Like
  • 0