Skip to main content
added 19 characters in body; edited title
Source Link
Matt Lacey
  • 25.8k
  • 7
  • 68
  • 153

How to display History related list using <apex:relatedList> or by any other direct approach on a VFVisualforce page?

I have a custom VFVisualforce page at the end of which I want to display some related object list  (like Activity Histories, Notes and Attachments) as they wereare on the standard detail page of a record. What

What should I use in apex:relatedLista <apex:relatedList> tag to display Custom Object History related list?

For example: Assume the custom object name as Detail_Rec__c.

So I tried this:

<apex:relatedList list="Detail_Rec__Histories" />

and got "invalid child relationship name" error.

How to display History related list using <apex:relatedList> or by any other direct approach on a VF page?

I have a custom VF page at the end of which I want to display some related object list(like Activity Histories, Notes and Attachments) as they were on standard detail page of a record. What should I use in apex:relatedList tag to display Custom Object History related list?

For example: Assume the custom object name as Detail_Rec__c.

So I tried this:

<apex:relatedList list="Detail_Rec__Histories" />

and got "invalid child relationship name" error.

How to display History related list using <apex:relatedList> or by any other direct approach on a Visualforce page?

I have a custom Visualforce page at the end of which I want to display some related object list  (like Activity Histories, Notes and Attachments) as they are on the standard detail page of a record.

What should I use in a <apex:relatedList> tag to display Custom Object History related list?

For example: Assume the custom object name as Detail_Rec__c.

So I tried this:

<apex:relatedList list="Detail_Rec__Histories" />

and got "invalid child relationship name" error.

added 202 characters in body
Source Link
Simran
  • 236
  • 3
  • 6

I have a custom VF page at the end of which I want to display some related object list(like Activity Histories, Notes and Attachments) as they were on standard detail page of a record. What should I use in apex:relatedList tag to display Custom Object History related list?

For example: Assume the custom object name as Detail_Rec__c.

So I tried this:

<apex:relatedList list="Detail_Rec__Histories" />

and got "invalid child relationship name" error.

I have a custom VF page at the end of which I want to display some related object list(like Activity Histories, Notes and Attachments) as they were on standard detail page of a record. What should I use in apex:relatedList tag to display Object History related list?

I have a custom VF page at the end of which I want to display some related object list(like Activity Histories, Notes and Attachments) as they were on standard detail page of a record. What should I use in apex:relatedList tag to display Custom Object History related list?

For example: Assume the custom object name as Detail_Rec__c.

So I tried this:

<apex:relatedList list="Detail_Rec__Histories" />

and got "invalid child relationship name" error.

Source Link
Simran
  • 236
  • 3
  • 6

How to display History related list using <apex:relatedList> or by any other direct approach on a VF page?

I have a custom VF page at the end of which I want to display some related object list(like Activity Histories, Notes and Attachments) as they were on standard detail page of a record. What should I use in apex:relatedList tag to display Object History related list?