Activity › Forums › Salesforce® Discussions › How do I fetch picklist values based on recordtypeId in LWC?

  • Anjali

    Member
    December 31, 2020 at 10:50 AM

    In Lwc we can get values based on recordtype name as well. By importing getPicklistValues or getPicklistValuesByRecordType from "lightning/uiObjectInfoApi" we can get picklist values in LWC JavaScript. recordTypeId is required parameter for both of these functions.

Log In to reply.

Popular Salesforce Blogs

A Complete Guide to the Salesforce Administrator Certification Course: What to Expect and How to Succeed

Blog in

In today’s digital era, Salesforce has become the go-to customer relationship management (CRM) platform for businesses worldwide. Whether you're managing customer data, automating workflows, or…

Popular Salesforce Videos