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 › How can we get picklist values dynamically in Apex in Salesforce?

    Tagged: Account Field, Apex, Field Object, Field Result Object, Picklist Values, Salesforce Apex

    • Salesforce® Discussions

      How can we get picklist values dynamically in Apex in Salesforce?

      Posted by Achintya on August 30, 2019 at 7:05 AM

      How can we get picklist values dynamically in Apex in Salesforce?

      Piyush replied 7 years, 2 months ago 2 Members · 1 Reply
      • Account Field
      • Apex
      • Field Object
      • Field Result Object
      • Picklist Values
      • Salesforce Apex
    • 1 Reply
    • Piyush

      Member
      August 30, 2019 at 8:03 AM

      Hi Achintya,

      First get describefieldresult by using this code: Schema.DescribeFieldResult dfr = Schema.sObjectType.Account.fields.status;

      Then, get picklist values by suing this code: getPicklistValues() methods available in Schema.DescribeFieldResult object.

    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

    The ROI of Investing in Salesforce Development: What Every Business Leader Should Know

    Blog in Salesforce

    In today’s fast-paced business world, companies are constantly seeking ways to improve customer relationships, boost sales, and optimize business processes. A critical tool that has…

    William Aug 20, 2025
    1,094  Views
    How to Evaluate Salesforce Automation Before Adding More Flows

    How to Evaluate Salesforce Automation Before Adding More Flows

    Blog in Salesforce

    Salesforce teams often add Flows to fix process gaps. But too many flows can slow down the org, break limits, and create conflicts. Recent data…

    Salesforce Consulting
    George Sep 24, 2026
    207  Views
    Guide On How To Implement Salesforce For Better Results

    A Complete Guide On How To Implement Salesforce For Better Results

    Blog in Others, Salesforce Implementation

    Salesforce implementation is of key importance for any company, big or small, and no matter what their specific needs and preferences are. Being one of…

    CRM Solutions, CRM System, Customer Relationship Management, Customer Service, Customer Support Platform
    William Oct 11, 2018
    3,566  Views

    Popular Salesforce Videos

    Boosting your Application's Marketing through Salesforce AppExchange

    Boosting your Application's Marketing through Salesforce AppExchange

    Video in AppExchange, Salesforce Apps

    Explore the key benefits of AppExchange, the largest business app marketplace, and discover how you can tap into its vast ecosystem of potential customers. In…

    Salesforce Developer, salesforce, Salesforce Hulk, Salesforce Webinar, AppExchange
    Cyntexa Sep 18, 2023
    1,673  Views
    Salesforce Exam Dumps - Are They Worth It?

    Salesforce Exam Dumps - Are They Worth It?

    Video in Salesforce Training

    In this video, Brad discusses the unethical, yet common, practice of using Exam Dumps to pass a certification exam. These dumps are not only immoral,…

    Salesforce Training, Salesforce Certification, salesforce, Salesforce Video, Salesforce Exams
    Bradley May 6, 2020
    3,674  Views
    What is Lightning Web Components (LWC) in Salesforce?

    What is Lightning Web Components (LWC) in Salesforce?

    Video in Lightning

    LWC is a collection of modern framework which has lightweight features and we can create a reusable code. Watch this video and let us know…

    Salesforce Online Training, Salesforce Certification, Salesforce Lightning, Salesforce Lightning Components, Lightning Ui
    CRS Apr 21, 2022
    2,275  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.