1

I have created a Vf page for Standard object. In that VF page I need to add related list,like in our default page. I am using PE for SalesforceKindly please tell any link for this.

9

Have you searched on google or force.com before ask here??

check this out<apex:relatedList>

sample

<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>
| improve this answer | |
  • Can I put custom buttons and checkboxes in a related list to process selected records using a wrapper class? – Jarvis Dec 19 '15 at 18:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.