Play Games

Search This Blog

Friday, November 15, 2013

How to create custom account detail page?(displaying account and its related lists)

How to create custom account detail page?(displaying account and its related lists)

create a visualforce page like this.

<apex:page standardController="Account" >



<apex:detail relatedList="false" title="true"/>
<apex:relatedList list="contacts" />
<!-- displaying custom object as related list -->
<apex:relatedList list="opp1s__r"/>
<apex:relatedList list="Cases"/>

<apex:relatedList list="ActivityHistories"/>
<apex:relatedList list="notesandattachments"/>
</apex:page>

No comments:

Post a Comment