You need to sign in to do that
Don't have an account?
Jason Jones
Beginner Question on Related lists on custom object and Visualforce
I have an custom object called Job Start. On this object is a lookup field to opportunities. The request I have is to have the Activities both opened and closed for the opportunity show on the custom object.
I can understand basic samples like the one below from here: https://www.salesforce.com/docs/developer/pages/Content/pages_compref_relatedList.htm , but have no idea where to begin on this one.
Any help would be appreciated
Jason
I can understand basic samples like the one below from here: https://www.salesforce.com/docs/developer/pages/Content/pages_compref_relatedList.htm , but have no idea where to begin on this one.
Any help would be appreciated
Jason
<apex:page standardController="Account"> <apex:pageBlock> You're looking at some related lists for {!account.name}: </apex:pageBlock> <apex:relatedList list="Opportunities" /> <apex:relatedList list="Contacts"> <apex:facet name="header">Titles can be overriden with facets</apex:facet> </apex:relatedList> <apex:relatedList list="Cases" title="Or you can keep the image, but change the text" /> </apex:page>
Try these tags:
<apex:relatedList list="ActivityHistories"/>
<apex:relatedList list="Openactivities"/>
Thanks,
Pratik
Will you please elaborate? Please add the above code in your code mentioned as above.
Thanks,
Pratik