+ Start a Discussion
mmixmmix 

Contract Field History related list in VF page?

I am making an override of the default factory view for a Contract and everything works fine except that I can't seem to be able to show "Contract History" related list (with field tracking changes). I tried the following:

 

 

<apex:relatedList list="Histories" />

 

 as I see this child relationship in API definition, however I get the "'Histories' is not a valid child relationship name for entity Contract" error (if I try some other related list it works ok). What is the VF construct to show this related list? I would hate to have to code this as a custom VF block with a table. 

 

I forgot to mention that using relatedList="true" in apex:detail is not an option, we overrode the default page so we can inject custom stuff between main detail block and the related lists. 

Message Edited by mmix on 03-12-2010 09:45 AM