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

Popular Salesforce Videos

Salesforce Interview Questions and Answers - For Freshers and Experienced Candidates

Video in

Learn most important Salesforce Interview Questions and Answers, asked at every interview. These Interview questions will be useful to all entry-level candidates, beginners, interns, and…