You need to sign in to do that
Don't have an account?
KeithJ
Cannot output Opportunity Field History Related List
Hi there. On examining the schema explorer, I find that Opportunity has a child relationship called
Histories. Now, when I add the following line of code to my visualforce:
<apex:relatedList list="Histories" />
I get an error when my visualforce page is loaded stating:
'Histories' is not a valid child relationship name for entity Opportunity
Any ideas what's going on here? I can make other related lists appear but not this one....
Thanks
Field history related lists are discussed here: http://community.salesforce.com/sforce/board/message?board.id=Visualforce&message.id=3331
After that look here for fixing the Field data type value : http://forums.sforce.com/sforce/board/message?board.id=Visualforce&message.id=5354&query.id=74907#M5354
Per the above link, you need to rollout your own. An example was provided in that.
All Answers
I believe this will only work if you have the related list displayed on the default page layout for the object.. I recall this being discussed on the boards before.
Thanks for the reply Jim.
As it stands, this related list is actually included on the page layout...
Very strange. The other option would be to create the list manually but I want
to exhaust all options before I consider this.
Regards
Field history related lists are discussed here: http://community.salesforce.com/sforce/board/message?board.id=Visualforce&message.id=3331
After that look here for fixing the Field data type value : http://forums.sforce.com/sforce/board/message?board.id=Visualforce&message.id=5354&query.id=74907#M5354
Per the above link, you need to rollout your own. An example was provided in that.
Wow! Not as straight forward as i thought.
Thanks for the reply