Toggle Side Panel

  • Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • 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
  • Marketplace
  • Advertise With Us
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • 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
    • Marketplace
    • Advertise With Us
    • 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 9 years, 6 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

    application solution

    Popular Salesforce Blogs

    All You Need to Know About Workbench in Salesforce

    All You Need to Know About Workbench in Salesforce

    Blog in Others

    Salesforce Workbench is a powerful tool for developers and administrators who work with Salesforce on a regular basis. It is an online application that allows…

    Auto-complete, Beginners, Code Snippets, Custom Fields, Data Management
    Mohit Kumar Apr 25, 2023
    1,673  Views
    Salesforce-Desk-and-Salesforce-Essentials

    Small business’s customer service dilemma: Salesforce Desk.com or Service Cloud Essentials?

    Blog in Salesforce Products

    Browsing through Salesforce offerings, small businesses may feel as if they were at a huge, noisy, exotic market somewhere in Asia: there’s so much to…

    Case Management, Cloud Computing, CRM, CTI, Customer Service
    Karina Nov 12, 2018
    6,645  Views

    Revenue Optimization with Salesforce - A Complete Overview

    Blog in Salesforce

    Some areas of the world are slowly returning to normal conditions. However, many supply chains are still disrupted. This, in addition to rapidly changing market…

    Automating, Business Models, Chief Revenue Officers, Cross-sell Opportunities, Customer Behaviour
    Apphienz Sep 16, 2022
    2,195  Views

    Popular Salesforce Videos

    Creating leads using Amazon Alexa with salesforce.

    Creating leads using Amazon Alexa with salesforce.

    Video in Others

    Amazon EchoAmazon Echo is a voice command device with functions like question answering, playing music and controlling smart devices. Echo connects to Alexa which is…

    Salesforce Integration, Salesforce Trigger, Salesforce Leads, Salesforce Org, Salesforce Dashboard
    GetOnCRM Nov 13, 2019
    2,540  Views
    Introduction to Salesforce Nonprofit Cloud for Program Management

    Introduction to Salesforce Nonprofit Cloud for Program Management

    Video in Others, Salesforce Cloud Platform

    Each nonprofit’s mission and the program is unique, but with Salesforce’s highly configurable and customizable platform, you can manage your entire program from one central…

    Salesforce Video, Salesforce Learning, Salesforce Nonprofit Cloud, Program Management, Nonprofit’s Mission
    Prafull Feb 4, 2021
    2,358  Views
    Introduction to Lightning Web Component - New Methodology to Develop Lightning Component

    Introduction to Lightning Web Component - New Methodology to Develop Lightning Component

    Video in Lightning

    Lightning Web Components is the Salesforce implementation of that new breed of lightweight frameworks built on web standards. It leverages custom elements, templates, shadow DOM,…

    Salesforce Lightning, Salesforce Implementation, salesforce, Salesforce Video, Lightning Component
    Prafull Jun 29, 2020
    1,743  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

    © 2025 - 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®.

    Try AuditMyCRM - It is a Salesforce CRM Audit tool which comprehensively scans your Salesforce org and gives you the list of errors or warnings you need to take care of.
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.