You need to sign in to do that
Don't have an account?

How to show history related list of an custom object in visual force page?
Hi Guys,
I have enabled history tracking for a custom object called "xyz__c" and enabled history tracking for a custom field in xyz__c object. So, now i created a visulforce page where i need to show history related list in it.
How do i do it ?
I tried :
<apex:relatedList list="xyz__History" />
<apex:relatedList list="xyz__Histories" />
But, none of them worked.
I want to show related list without using Apex Class.
All Answers
You have to make use of GenericHistoryComponent to make this work on a vf
Thank you for the reply.
But, I would like know if there is any possibility of doing it without using Apex Class.
<apex:relatedList list="Histories" /> didn't work.
Thank you for the reply.