Toggle Side Panel

  • Blogs
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › How to display the related contacts of account in the same Salesforce Visualforce page?

    Tagged: Account, Contact Record, Salesforce Visualforce Page, Visualforce Component

    • Salesforce® Discussions

      How to display the related contacts of account in the same Salesforce Visualforce page?

      Posted by adarsh on August 19, 2017 at 5:31 AM

      How to display the related contacts of account in the same Visualforce page?

      Create a Visualforce page which shows a list of accounts linked to their record pages.

      Neha replied 9 years ago 2 Members · 1 Reply
      • Account
      • Contact Record
      • Salesforce Visualforce Page
      • Visualforce Component
    • 1 Reply
    • Neha

      Member
      August 19, 2017 at 7:33 AM

      <apex:page standardController="Account" recordSetVar="Acct">
      <apex:pageBlock>
      <table>
      <apex:repeat value="{!Acct}" var="acc">
      <tr>
      <td><apex:outputText value="{!acc.Name}"/></td>
      <apex:repeat value="{!acc.Contacts}" var="cont">
      <td><apex:outputText value="{!cont.Name}"/></td>
      </apex:repeat>
      </tr>
      </apex:repeat>
      </table>
      </apex:pageBlock>
      </apex:page>

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Popular Salesforce Blogs

    Transforming Businesses with Salesforce Digital Process Automation (DPA)

    Blog in Salesforce

    In today’s rapidly evolving business landscape, staying ahead of the competition requires adopting innovative solutions. Drive efficiency, enhance customer experience, and empower data-driven decision-making. Salesforce…

    Automating manual tasks, Automation, Business Growth, Businesses, Claims processing time
    SP Jul 25, 2023
    1,866  Views
    Salesforce Future Trends

    Salesforce Future Trends: 5 Major Trends to Watch Out For (2022 - 2023)

    Blog in Salesforce

    Salesforce trends for the year 2022-2023! Has it created too much buzz around? Well, possibly yes! Coz it is worth it…  For more than two…

    Automated Technologies, Automation, blockchain technology, Business Goals, Business Intelligence
    SP Jun 27, 2022
    3,182  Views

    Benefits of Salesforce Custom Development in 2024| Greytrix

    Blog in Others

    Whether you agree with me or not, Salesforce is among the most potent CRM solutions on the market. With its many amazing features, functionalities, and…

    CRM Custom Development, CRM Development, Custom Business Solutions, Custom CRM, Custom CRM Development
    Greytrix May 21, 2024
    925  Views

    Popular Salesforce Videos

    Introduction to Set & Map in Salesforce || What is Set || What is Map ||

    Introduction to Set & Map in Salesforce || What is Set || What is Map ||

    Video in Others

    From Salesforce instructor, Become a Salesforce Expert. A brief introduction about what is a Set, map, and what are their importance? Check out the video to…

    Salesforce Expert, Set, Salesforce Map, Map
    Neha Yadav Oct 21, 2019
    2,238  Views
    Salesforce Trailhead Bootcamp - Fast Track your Salesforce Certification - $700 OFF LIMITED TIME

    Salesforce Trailhead Bootcamp - Fast Track your Salesforce Certification - $700 OFF LIMITED TIME

    Video in Salesforce Certifications, Salesforce Training

    If want to fast track the path to your Salesforce Administrator Certification then this video is for you! This offer includes your $200 Certification Voucher…

    Salesforce Certification, Salesforce Administrator, salesforce, Salesforce Trailhead, Salesforce Admin
    Bradley May 14, 2020
    7,154  Views
    How to Switch your Career from Being an HR or a Recruiter to a Salesforce Developer/QA or a BA

    How to Switch your Career from Being an HR or a Recruiter to a Salesforce Developer/QA or a BA

    Video in Salesforce Stories, Salesforce Training

    In this video, Shrey has answered one of the most frequently asked questions about how someone who is working in HR or as a Recruiter…

    Salesforce Training, Salesforce Jobs, Salesforce Certification, Salesforce Developer, Salesforce Video
    Prafull May 7, 2021
    2,673  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.