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, 2 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

    Process Automation

    Salesforce Process Automation Best Practices

    Blog in Others, Salesforce, Salesforce Products

    Salesforce Process Builder was by far one of Salesforce Users' most helpful and popular features. Salesforce uses Process Builder to automate business operations. Relatively new…

    Apex Triggers, Approval Processes, Automated Conditions, Automated Email, Automation Activities
    Cymetrix Jun 24, 2021
    8,488  Views

    Salesforce Links Einstein GPT and Data Cloud to Flow

    Blog in Salesforce

    Salesforce links Einstein GPT and Data Cloud to Flow to drive the autonomous, intelligent enterprise by integrating AI-generated content with real-time customer data to automate…

    Automate Workflows, Automation, code generation, Complex Workflows, Composing emails
    Apphienz May 30, 2023
    1,416  Views

    Aura Vs LWC: Why You Should Learn LWC? | Salesforce Lightning Tutorial

    Blog in Salesforce

    What is LWC? LWC stands for Lightning Web Component.   It is the new programming model on which we can build Lightning Components.  It uses the…

    AURA, Aura Components, Aura Programming, Aura Programming Model, Aura Vs LWC
    Pranjal Sep 7, 2022
    3,727  Views

    Popular Salesforce Videos

    Building a Custom UI with Lightning Web Components | Salesforce Tutorial

    Building a Custom UI with Lightning Web Components | Salesforce Tutorial

    Video in Lightning, Salesforce Training

    Lightning Web Components is a modern JavaScript framework that leverages the web standards breakthroughs over the past few years. Watch this session to understand how…

    Salesforce Training, Salesforce Tutorial, salesforce platform, UI, Salesforce Video
    Rupal Kakkar Apr 29, 2021
    2,397  Views
    Salesforce Connections 2018 Keynote - Ch. 4: U.S. Bank Is A Trailblazer

    Salesforce Connections 2018 Keynote - Ch. 4: U.S. Bank Is A Trailblazer

    Video in Events

    Salesforce Connections 2018 Keynote – Ch. 1: Corporate Positioning Salesforce Connections 2018 Keynote – Ch. 2: Ticketmaster Is A Trailblazer Salesforce Connections 2018 Keynote –…

    Salesforce CRM, Salesforce Keynote, Salesforce Connections, Salesforce Events, US Banks
    Hazel Jul 11, 2018
    1,784  Views
    MuleSoft Integration: Google Ads Lead Form to Salesforce - Learn Salesforce Series by Algoworks

    MuleSoft Integration: Google Ads Lead Form to Salesforce - Learn Salesforce Series by Algoworks

    Video in Salesforce Integration, Salesforce Training

    MuleSoft integration: Google Ads lead form to Salesforce. In this video, learn how MuleSoft can be used to integrate Salesforce with Google Ads lead form.…

    Salesforce Development, Salesforce Integration, salesforce services, Salesforce Cloud, Salesforce Video
    Algoworks May 27, 2020
    2,939  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.