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 › 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 6 years, 4 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

    application solution

    Popular Salesforce Blogs

    Marketing Cloud Connect

    Salesforce Marketing Cloud Connect: View Full Resolution Emails in Sales or Service Cloud

    Blog in Salesforce Cloud Platform

    Marketing Cloud Connect allows users to view a thumbnail of emails sent from Marketing Cloud in Sales and Services Cloud as part of its default setup, but…

    Authentication Information, Best Practice, Callout, Communications, Custom Code
    DB Mar 5, 2021
    3,118  Views

    Here's What Slack - Salesforce Integration Have in Store for You

    Blog in Salesforce integration

    Communications, process integration, and connectivity get complicated to handle as the firm or corporation grew. When your staff work remotely, keeping in touch with them…

    Application Architecture, Apps, Brand Awareness, Client Query, Client Support
    Apphienz Aug 18, 2021
    2,473  Views

    Salesforce Automation with Workflow Rules

    Blog in Others

    Following our previous article on Salesforce Automation Tools, this article covers automation using the Workflow tool in more detail. Workflows are suitable for a single if/then statement that…

    Certified Salesforce Consultant, Considerations for Time Dependent Actions, Email Service, Process Builder, Sales Automation
    KeyNode Feb 18, 2019
    6,268  Views

    Popular Salesforce Videos

    How To Become a Salesforce Developer [Perfect Guide for Beginners]

    How To Become a Salesforce Developer [Perfect Guide for Beginners]

    Video in Others

    Curious about a career in Salesforce development? Our video is your concise guide to getting started.  What's inside:→ The average salary for a Salesforce Developer…

    ENWAY Sep 5, 2025
    103  Views
    Web Chats In Salesforce | Service Cloud | Kanika Chauhan

    Web Chats In Salesforce | Service Cloud | Kanika Chauhan

    Video in Salesforce Training

    Salesforce Web Chat (previously known as Salesforce Live Agent) is a feature that allows customers to communicate with the company via the web through instant…

    Salesforce Training, Salesforce Tutorial, Salesforce Service Cloud, salesforce, Salesforce Video
    kanika May 31, 2022
    2,296  Views
    Modern App Development On Salesforce - Communicate between LWC components Using Events

    Modern App Development On Salesforce - Communicate between LWC components Using Events

    Video in Salesforce Development

    In this series, we will explore Modern App Development on the Salesforce platform, including Heroku. The live hands-on sessions will take you through the journey…

    Salesforce Training, Salesforce Tutorial, salesforce platform, Salesforce App Development, Test
    Jogender Dec 4, 2020
    1,348  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.