1. Home
  2. Developer Guide
  3. JavaScript Library
  4. Get Picklist Name

Get Picklist Name

This function is used to get the picklist label name based on the picklist id provided.

Function: GetPicklistName(<Object Name>, <Field Name>, <Picklist GUID>)Usage:

var PicklistLabel = GetPicklistName(“Lead”, “Country”, lead.Country);

Or

var PicklistLabel = GetPicklistName(“Lead”, “Country”, 1332647461507827577);

Output:Success:Picklist labelFailure:An error message will be displayed

Was this article helpful to you? Yes No

How can we help?