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 › You have written trigger on Opportunity and want to access field of Account. Can you use this Syntax – oppObj.Account.someField__c in Salesforce?

    Tagged: Account Field, Apex Triggers, Lookup Field, Salesforce Opportunity, Syntax, Visualforce Controller in Salesforce

    • Salesforce® Discussions

      You have written trigger on Opportunity and want to access field of Account. Can you use this Syntax – oppObj.Account.someField__c in Salesforce?

      Posted by Aman on September 22, 2018 at 6:05 PM

      You have written trigger on Opportunity and want to access field of Account. Can you use this Syntax – oppObj.Account.someField__c in Salesforce?

      shariq replied 7 years, 11 months ago 2 Members · 1 Reply
      • Account Field
      • Apex Triggers
      • Lookup Field
      • Salesforce Opportunity
      • Syntax
      • Visualforce Controller in Salesforce
    • 1 Reply
    • shariq

      Member
      September 22, 2018 at 6:05 PM

      There is common missunderstanding that what is allowed in Trigger Context. Above Syntax will work on any other places like Visualforce Controller. However in Trigger, Lookup field or related list is not available implicitly, we need to query it.

    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 CRM Consulting

    What's the Cost of Salesforce CRM Consulting in India?

    Blog in Salesforce

    Salesforce is one of the most widely used CRM platforms in the world. Small and large businesses use it as it offers various modules, including…

    Business Analysis, Business Challenge, Business Goals, Business Needs, Business Plans
    Melonleaf Jan 5, 2023
    2,180  Views
    Salesforce Consultants

    Why Hire Third-party Consultants for Salesforce Managed Services?

    Blog in Salesforce Consultant

    Salesforce is a fairly vast platform to understand and implement thoroughly. While its functionality is simple and automated, its development and implementation might turn out…

    Cloud-based Platform, Consulting Company, Contract Basis, CRM Platform, Cutting Down Costs
    Techila Aug 12, 2021
    4,451  Views

    The Essential Guide for Salesforce Testing

    Blog in Salesforce

    Organizations in the modern business environment rely on robust customer relationship management (CRM) systems to efficiently manage and streamline their sales processes. Salesforce, a leading…

    Guide, HeadSpin Global Test Coverage, HeadSpin Network Conditions Simulation, HeadSpin Performance Monitoring, HeadSpin Platform for Salesforce Testing
    Abhay Oct 18, 2023
    3,032  Views

    Popular Salesforce Videos

    Lead Together with Salesforce | Salesforce Partners

    Lead Together with Salesforce | Salesforce Partners

    Video in Salesforce Stories

    Learn more about the Equality Programs and initiatives that are available to Salesforce Partners, including the Salesforce Talent Alliance. Watch this video to learn all…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Guide, Salesforce Video
    Nauman Aug 4, 2021
    1,781  Views
    How to Set Up Salesforce Customer Community

    How to Set Up Salesforce Customer Community

    Video in Others

    Step by Step Salesforce tutorial for quickly setting up a Customer Community with Customer Service (Napili) Template.

    Salesforce Developer, Salesforce Tutorial for Beginners, Salesforce Customer Community, Salesforce Licence, Salesforce Accounts Management
    deepti jain Feb 13, 2019
    2,653  Views
    Use Case Hierarchy to Link Cases in Salesforce

    Use Case Hierarchy to Link Cases in Salesforce

    Video in Salesforce Stories

    Want to link your cases, so you and your team have a complete view of what’s going on with a customer? Do you want to…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Service Cloud
    Abhishek Mar 7, 2022
    2,961  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.