
You can use toLabel () to convert the picklist api name to a label: SELECT toLabel (CUSTOM_PICK_LIST_COL__C) FROM OPPORTUNITY Share
Full Answer
How to manage picklist values in Salesforce?
Manage Picklist Values 1 In Setup, click the Object Manager tab, and then select the object associated with your picklist field. 2 Click Fields & Relationships. 3 Click the picklist’s Field Label to see the field’s detail page.#N#You see your values in the Values related list More ...
How do I create a multi-select picklist?
For example, if you have a custom picklist field and decide you want to make it a multi-select picklist, you can do that. In Setup, click the Object Manager tab, and then select the object associated with your picklist field. Click Fields & Relationships. Click Edit next to the picklist field.
How do I find the value of a picklist field?
In Setup, click the Object Manager tab, and then select the object associated with your picklist field. Click Fields & Relationships. Click the picklist’s Field Label to see the field’s detail page. You see your values in the Values related list
How do I change the Order of values in a picklist?
In Setup, click the Object Manager tab, and then select the object associated with your picklist field. Click Fields & Relationships. Click the picklist’s Field Label to see the field’s detail page. You have a few options on this page: New: Create a new value. Reorder: Rearrange the existing values.

How do I get the API name of a picklist value in Salesforce?
To get the picklist label via SOQL. Use the PicklistEntry Class to retrieve picklist value's label and API name dynamically. getLabel() – will return a picklist value's label. getValue() – will return a picklist value's API Name, as it used to do before.
Can we convert picklist to text in Salesforce?
After a picklist value has been converted to a Text value, you can use Text functions, such as BEGINS() and CONTAINS(), on it. This formula, for example, displays a case's Status as a sentence.
Can I query picklist values in Salesforce?
Yes you can use SOQL to get Picklist values, but that doesn't mean that you should. It's nice to put both answers on the table though. :) +1! These are two different use cases, though.
How do I extract all picklist values in Salesforce?
Solution. ... Open the BOFC Home > Click “Export Picklist Values for multiple fields“It will open below screen.User can export “Active or Inactive” picklist values for different type of metadata:Select “Export Picklist” and select the type of picklist values to export (Active or Inactive or Both)More items...•
Can we convert picklist field to text field in Salesforce?
You can't convert a defined unique text field to a picklist or a multi-select picklist. When you convert a long text area field to an Email, Phone, Text, Text Area, or URL type field, the record data is truncated to the first 255 characters of the field.
What does the picklist field return?
A number of picks.
How do I query a picklist field in SOQL?
Fetch picklist values through SOQL query in Salesforcesf = Salesforce(instance_url='https://test.salesforce.com', session_id='')sf1 = Salesforce(connection parameters)sf3 = sf1.query("SELECT Color__c FROM Contact")
How do I read picklist values in Apex Salesforce?
Picklist can be easily seen in Salesforce Lightning mode by using the UI: Setup -> Object Manager -> Select the Object where the field is -> Click on Fields and Relationships -> Select the field -> Scroll Down and you will see the values.
What is SOSL in Salesforce?
Salesforce Object Search Language (SOSL) is a Salesforce search language that is used to perform text searches in records. Use SOSL to search fields across multiple standard and custom object records in Salesforce. SOSL is similar to Apache Lucene.
Can we Export picklist values in Salesforce?
A button on the picklist say "Export", clicking on it will export the list of values in the picklist.
How do you get picklist values by record type in Apex?
In general, Apex help to get all the picklist field values regardless of record type of on sObject, but the values can be retrieved using the schema class. In general, Apex help to get all the picklist field values regardless of record type of on sObject, but the values can be retrieved using the schema class.
How do I get dependent picklist values in Salesforce?
According to Salesforce Help: “A dependent picklist is a custom or multi-select picklist for which the valid values depend on the value of another field, called the controlling field. Controlling fields can be any picklist (with at least one and fewer than 300 values) or checkbox field on the same record. “
What is an index field in Salesforce?
What makes a good index candidate is pretty advanced. Salesforce automatically analyzes performance and periodically assigns fields to be indexed.
Can you change the picklist field type?
With all the options for picklist fields, rest assured you can change the field type when necessary. For example, if you have a custom picklist field and decide you want to make it a multi-select picklist, you can do that.
Can you use multi select picklists as dependent?
Multi-select picklist fields can be dependent, but not controlling fields. You can set default values for controlling fields but not for dependent picklists. If your org uses record types, choose a record type to test how it affects your controlling and dependent picklist values.
