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 8 years, 1 month 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

    Use Postman

    Introduction and How to Use Postman | Salesforce Developer Guide

    Blog in Salesforce integration

    Introduction Postman is a computer application it is used for testing APIs (Application Programming Interfaces). Postman sends an HTTP request to the webserver and receives…

    APIs, Application Programming Interfaces, Applications, Authentication Tab, Computer Application
    Arun Feb 1, 2022
    5,244  Views

    Fast Track your Marketing Activities and Enhance User Experience with DemandBlue's Salesforce Marketing Cloud Accelerators

    Blog in Salesforce Cloud Platform

    Salesforce Marketing Cloud is one of the most used digital marketing platforms. DemandBlue’s set of Marketing Cloud and Pardot accelerators are uniquely backed by a decade of…

    Automation, Automation Rules, Best Practices, Business Model, Customers
    LevelShift (formerly DemandBlue) May 18, 2022
    2,129  Views

    Mortgage Innovation for Salesforce Financial Services Cloud

    Blog in Salesforce Cloud Platform

    Salesforce recently announced a new feature Called Mortgage Innovation for  Financial Services Cloud that is designed to streamline the mortgage application process. This new tool includes a guide…

    Business Process, CRM Platform, Financial Services Cloud, Mulesoft Api, Salesforce Consultants
    AwsQuality Nov 14, 2019
    4,878  Views

    Popular Salesforce Videos

    Proven Platform Development with DevOps & Agile on Salesforce

    Proven Platform Development with DevOps & Agile on Salesforce

    Video in Salesforce Development

    Digital business demands and user expectations have raised the bar on how CRM solutions are utilized in the enterprise. Technical professionals developing solutions with Salesforce…

    Salesforce Integration, Salesforce Continuous Integration, Salesforce Application Development, Salesforce App Development, Salesforce Developers
    Jogender May 17, 2018
    2,062  Views
    Export Data from Salesforce using Data Loader - Step by Step Process

    Export Data from Salesforce using Data Loader - Step by Step Process

    Video in Data, Salesforce Training

    In this video learn how to Export Data from Salesforce to CSV using Data Loader. You can install Data Loader on Windows or Mac. And…

    Salesforce Data Management, Salesforce Data Migration, Salesforce Data Loader, Data Management In Salesforce, Salesforce Data Types
    Jogender Feb 9, 2018
    2,530  Views
    4 Tips on How to Build Product Messaging & Positioning That Stands Out | Salesforce on Salesforce

    4 Tips on How to Build Product Messaging & Positioning That Stands Out | Salesforce on Salesforce

    Video in Salesforce Stories

    Messaging and positioning work together and should be the North Star for any product launch. If done well, it will set you apart from the…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Learning
    Pooja Apr 28, 2022
    1,861  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.