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

    application solution

    Popular Salesforce Blogs

    Enhancing User Engagement with Salesforce Community Cloud

    Blog in Salesforce

    Introduction In our digital era, businesses always look for new ways to get a better user interface and build stronger relationships between their customers, partners,…

    Business Performance, Client Relationships, Cloud Software, Community Cloud, CRM
    TechForce Jul 8, 2024
    655  Views
    Customer Relationship Management

    What is CRM? A Beginner's Guide to Customer Relationship Management | Salesforce

    Blog in Salesforce

    What is CRM? CRM stands for Customer Relationship Management. The meaning of CRM has changed a lot over the years. CRM is a term that was initially…

    AppExchange, Application Integration, Automate, Automate Sales, Big Corporations
    Noopur Mar 18, 2021
    13,577  Views
    sales cloud marketing cloud

    How to Send Email to Salesforce Sales Cloud Data from Marketing Cloud

    Blog in Sales, Salesforce Cloud Platform

    This blog will tell you how one can fetch Salesforce data from the Sales cloud into the marketing cloud and then use the automation studio…

    Automation, Content Builder, Data Extension, Data Extension in Marketing Cloud, Email Studio
    Udit Aug 19, 2020
    5,766  Views

    Popular Salesforce Videos

    24 hours on the salesforce platform

    24 hours on the salesforce platform

    Video in Others

    Dreamforce ’18 gave us new ways to talk to Einstein, and new ways to talk about equality with Adam Rippon. We looked at customers from…

    Salesforce Development, Salesforce Einstein, Marketing Automation, Salesforce CRM, Salesforce Crm Learning
    Abhay May 8, 2018
    1,913  Views
    How to Create a File Location in Salesforce Marketing Cloud

    How to Create a File Location in Salesforce Marketing Cloud

    Video in Marketing, Salesforce Training

    Cameron Robert shows how to use PuttyGen to generate and create an SSH Key for SFTP usage in Salesforce Marketing Cloud, then how to create…

    Salesforce Training, Salesforce Tutorial, Salesforce Marketing Cloud, Trailhead, Salesforce Video
    Cameron Sep 16, 2021
    2,729  Views
    Sales Process in Salesforce | Opportunity Object Explained

    Sales Process in Salesforce | Opportunity Object Explained

    Video in Salesforce Consultant

    Opportunities in Salesforce Sales Cloud allow sales teams to organize and track their sales pipeline effectively. Each opportunity represents a potential deal, and it can…

    salesforce, Opportunities, Sales Process, Opportunity, Opportunity Record
    ENWAY Jul 5, 2024
    589  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.