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 › Display names of Contact & Opportunity which are related to Account

    Tagged: Account, Contact, Salesforce Opportunity, Salesforce Visualforce Page

    • Salesforce® Discussions

      Display names of Contact & Opportunity which are related to Account

      Posted by Pratyush on May 17, 2016 at 7:30 AM

      We have 3 objects Account, Contact, Opportunity. In a VF page, we need to display the names of contact & Opportunity which are related to Account.

      Utsav replied 10 years, 5 months ago 2 Members · 1 Reply
      • Account
      • Contact
      • Salesforce Opportunity
      • Salesforce Visualforce Page
    • 1 Reply
    • Utsav

      Member
      June 1, 2016 at 1:35 PM

      Hi Pratyush

      You can use the below SOQL query to print on the VF page:

      select id,(select name from contacts),(select name from opportunities) from account

      Although hierarchical iteration is being needed while printing inner queries results on VF 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

    Salesforce Reports and Dashboards

    Salesforce Reports and Dashboards - A Complete Guide!

    Blog in Salesforce Admin

    What is a Report?  A report is a document that comprises data in a tabular or graphical format that has been generated for a specific…

    Create a Report, Custom Folders, custom Reports, Dashboard Components, Detailed Analysis
    Amit Kumar Jul 5, 2022
    4,237  Views

    How Do I Create Email List In Salesforce For My Business?

    Blog in Salesforce Implementation

    An email list is fundamentally a rundown of email addresses. In showcasing, an email list is normally created or grouped for use in broad dispersion…

    Business Automation, Business Operations, Email in Salesforce, Email List, Email Service
    William Jun 12, 2019
    6,054  Views
    Salesforce Consultant

    What Is a Salesforce Consultant?

    Blog in Salesforce Consultant

    You might be familiar with Salesforce yet have wondered what the heck a Salesforce consultant is. If I already bought and use Salesforce in my…

    Automated Analytics Reporting, Business Goals, Business Needs, Business Processes, Businesses
    SkyPlanner May 18, 2021
    2,952  Views

    Popular Salesforce Videos

    How to Become Salesforce Developer | Salesforce For Beginners

    How to Become Salesforce Developer | Salesforce For Beginners

    Video in Salesforce Stories, Salesforce Training

    In this how-to become Salesforce developer video, you will be learning what is Salesforce, the fundamentals of Salesforce, how to become a Salesforce developer, how…

    Salesforce Training, Salesforce Jobs, Salesforce Developer, salesforce, Salesforce Video
    Jogender Jul 7, 2021
    1,857  Views
    Salesforce Marketing Cloud Connect: Subscriber Key Migration

    Salesforce Marketing Cloud Connect: Subscriber Key Migration

    Video in Salesforce Cloud Platform

    We demo how leveraging a subscriber key migration to remove duplicate subscribers from Sales or Service Cloud in Marketing Cloud while minimizing data loss. Explore…

    Salesforce Training, Salesforce Sales Cloud, Salesforce Service Cloud, Salesforce Video, support
    DB Nov 9, 2020
    5,511  Views
    How to Get Jobs or Work Outside India | Salesforce Developer vs Cloud Professional

    How to Get Jobs or Work Outside India | Salesforce Developer vs Cloud Professional

    Video in Salesforce Training

    In this Video Shrey covered answers to the three questions which are: 1. How do you find a job in Salesforce as a fresher or…

    Salesforce Training, Salesforce Tutorial, Salesforce Jobs, Salesforce Developer, salesforce
    S2 Feb 28, 2022
    1,670  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.