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