Activity › Forums › Salesforce® Discussions › List out different methods of DynamicPickList class in salesforce.

  • Hariom Chaudhary

    Member
    September 24, 2019 at 2:15 PM

    Hi,

    The following are methods for DynamicPickList.

    clone()
    Makes a duplicate copy of the VisualEditor.DynamicPicklist object.
    getDefaultValue()
    Returns the picklist item that is set as the default value for the picklist.
    getLabel(attributeValue)
    Returns the user-facing label for a specified picklist value.
    getValues()
    Returns the list of picklist item values.
    isValid(attributeValue)
    Returns the valid state of the picklist item’s value. A picklist value is considered valid if it’s a part of any VisualEditor.DataRow in the VisualEditor.DynamicPickListRows returned by getValues().

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Salesforce Admin Certification 2020 Questions Explained with References - Part II

Video in

How to prepare and pass Salesforce Admin Certification with Practice Exam Questions 2020 practice questions and answers for the Salesforce Administration Salesforce Certified Admin Exam Questions Salesforce Administrator Certification Exam…