function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
KnowledgeseekerKnowledgeseeker 

how do I add the Account & Opportunity History Related Lists in my custom visual force pages?

I keep getting this visual force error (see below)

 

'OpportunityFieldHistory' is not a valid child relationship name for entity Opportunity

 

Please help!! Thank you - Jeremy

raj_sfdcraj_sfdc

I am not much sure about the error you are getting but below is a sample code where you can get contact history related list :

 

 

<apex:outputPanel id=" ">       

<apex:detail subject="{!contact}" title="false" relatedList="false"/>       

<apex:relatedList list="ActivityHistories" subject="{!contact}"/>     

</apex:outputPanel>

chandra sabbamchandra sabbam

hi