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

    Salesforce Security Model

    Salesforce Security Model - An Overview

    Blog in Salesforce Security

    What is Salesforce Data Security? Presently Salesforce offers a thorough and flexible data security model for tying down data at totally various levels to give…

    Apps, Associate Admin, Business Profile, Campaigns Object, Certifiable Business Issues
    Ratnesh Feb 11, 2021
    4,973  Views
    Campaigns In Salesforce

    Campaigns In Salesforce - All You Need to Know

    Blog in Others, Salesforce

    What is a Salesforce Campaign? A Salesforce Campaign is a collection of Leads and Contacts who have been exposed to a certain marketing message(s). It…

    Budgeted Cost, Campaign, Campaign Member, Campaigns In Salesforce, Campaigns Tab
    Anjali Jul 12, 2021
    5,560  Views
    Salesforce ERP Integration

    Salesforce ERP Integration – Evaluate Your Sales Opportunities Accurately

    Blog in Salesforce integration

    Vendors that respond faster gain more business opportunities. This is why companies must empower their sales reps with instant customer and prospect information access by…

    Business Opportunities, Customer and Prospect Information, Customer Data, Customer Profiles, ERP System
    Softweb Oct 5, 2020
    2,200  Views

    Popular Salesforce Videos

    AppExchange Demo Jam - April 2020

    AppExchange Demo Jam - April 2020

    Video in AppExchange

    Watch AppExchange apps Lifeguard Solutions, FilePulse, Vonage, Icertis, Taskray, and Salesforce Crisis App from Salesforce Labs demo their technology in three minutes for the audience…

    salesforce, Salesforce AppExchange, Demo Jam, AppExchange Apps, Salesforce Labs
    Abhai Deep Apr 20, 2020
    2,189  Views
    Getting Business Insights From Telephony Data in Salesforce

    Getting Business Insights From Telephony Data in Salesforce

    Video in Sales

    Big Data, Data Analytics and Data mining are big terms that often sound like they are only for the ‘giant corporation‘ and put people off…

    salesforce, Data Integration, Saleforce Big Data, CTI, phone
    Ian Mar 19, 2020
    1,475  Views
    Generative AI: What Diverse Data Types Can It Create? | Salesforce

    Generative AI: What Diverse Data Types Can It Create? | Salesforce

    Video in Others, AI and ML

    Imagine a technology that can take various types of data – from text and images to music and even beyond – and create something entirely…

    salesforce, Artificial Intelligence, Salesforce Community, Salesforce Webinar, Webinar
    Cyntexa Nov 6, 2023
    875  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®.

    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.