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, 3 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

    Salesforce Sales Cloud Implementation Guide

    Blog in Salesforce

    Implementing Salesforce Sales Cloud is one of the most effective ways for businesses to strengthen their sales operations, improve lead management, and boost revenue growth.…

    Cloud CRM Solutions, Sales Automation, Salesforce Consulting, Salesforce Sales Cloud Implementation, Salesforce Sales Cloud Services
    Dean Nov 24, 2025
    124  Views
    ServiceNow Integration

    How to Set up a Salesforce ServiceNow Integration [Step-by-Step Guide]

    Blog in Salesforce integration

    How to Set up a Salesforce ServiceNow Integration [Step-by-Step Guide] Salesforce ServiceNow integration can assist your teams in better acquiring and aggregating their already increasing…

    AppExchange, AppExchange Dashboard, Applications, Apps, Automation Application
    jameel Feb 2, 2022
    4,915  Views

    Why Zero Code App is The Best Option For WhatsApp Integration With Salesforce?

    Blog in Others

    The flexibility and effectiveness of Salesforce and Whatsapp's 2 billion active users. What happens when you Integrate both of these things? The most effective and…

    App Provider, Appexvhange, Automation, Benefits, Blog
    360 SMS APP Nov 9, 2023
    1,323  Views

    Popular Salesforce Videos

    Enable Salesforce Einstein Lead Scoring with Less Data - Winter 21

    Enable Salesforce Einstein Lead Scoring with Less Data - Winter 21

    Video in Salesforce Einstein

    Previously we needed a minimum of 1000 new leads and 120 lead conversions in the previous 6 months to calculate the lead scoring. With Winter…

    Salesforce Einstein, Machine Learning, Salesforce Trailhead, Salesforce Video, Einstein
    Prafull Jul 8, 2020
    8,649  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,800  Views
    What Does a Salesforce Developer Do | Salesforce Developer Roles and Responsibilities

    What Does a Salesforce Developer Do | Salesforce Developer Roles and Responsibilities

    Video in Salesforce Training

    Watch this video to learn all about Salesforce Developer Roles and Responsibilities. This video explains what does a Salesforce Developer do. Watch and learn.

    Salesforce Training, Salesforce Tutorial, Salesforce Developer, salesforce, Salesforce Video
    Nauman Oct 11, 2021
    1,651  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

    © 2025 - 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.