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, 4 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 Email Studio

    Salesforce Email Studio – Top compelling reasons why you need it

    Blog in Salesforce Products

    Salesforce Email Studio is among Salesforce’s Marketing Cloud tools designed to deliver the right message to the right audience at the right time, run email marketing…

    Cloud Computing, Customer Success, Digital Marketing, Salesforce Advertising Studio, Salesforce email Studio
    LevelShift (formerly DemandBlue) Mar 15, 2019
    3,295  Views
    Vaccine Cloud

    Salesforce Introduces Vaccine Cloud to Accelerate Global Vaccine Management

    Blog in Salesforce, Salesforce Cloud Platform

    To help government agencies, healthcare organizations, businesses, nonprofits, and educational institutions, Salesforce, the global leader in CRM, has introduced Vaccine Cloud. By launching the Vaccine…

    Businesses, COVID-19, CRM, Easy Management and Tracking, Education
    Kcloud Feb 4, 2021
    2,709  Views
    Grow-Your-Business-With-Sales-Cloud

    Remarkable Ways To Grow Your Business With Sales Cloud

    Blog in Salesforce Cloud Platform

    The end goal of every business is to maximize its sale because that is the only thing that creates revenue for it. Lead generation, improving…

    Business Success, ROI, Sales Cloud, Sales Reps, Salesforce CRM
    William Feb 26, 2019
    5,240  Views

    Popular Salesforce Videos

    Visualforce Training for Beginners : Visualforce Tags in Salesforce

    Visualforce Training for Beginners : Visualforce Tags in Salesforce

    Video in Visualforce

    This video helps you to learn following topics: Visualforce Tags Standard Controllers Associating a Standard Controller with a Visualforce Page What are action methods? Action…

    salesforce training videos for beginners, Salesforce Developer, Salesforce Tutorial for Beginners, salesforce platform, Cloud Computing
    Abhay Mar 7, 2018
    1,735  Views
    GDPR & Telephony Consenting & Forgetting In Salesforce

    GDPR & Telephony Consenting & Forgetting In Salesforce

    Video in Others, Sales

    The big noise in the market right now is GDPR, the General Data Protection Regulation. This is the new European rule for data protection which…

    salesforce, CRM, CTI, phone, telephone
    Ian Mar 20, 2020
    2,320  Views
    Searching for Records In Salesforce

    Searching for Records In Salesforce

    Video in Salesforce Training

    You can search globally across all of Salesforce for matching records to your search term. Or you can search within a specific object. You will…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Learning
    Abhishek Jan 27, 2022
    1,839  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.