+ Start a Discussion
mac adminmac admin 

Related list in custom vfpage

Hi all,
I want to create a custom detail page for my custom object. Can anyone help me in adding related list to my detail custom vfpage.

Thanks in advance,

Hi Mac,

You can add related list in to your custom visualforce page. Follow below example:

<apex:page standardController="Audit_Trail__c">
<apex:relatedList list="Client__r" />

I hope it helps you to add related list. Please mark this answer best if it helps you.


Yogesh Sharma

mac adminmac admin
Hi  Yogesh,
Thanks for reply. It's worked.