A picklist is a field type in Salesforce that contains a list of values from which a user may select a value. A picklist is represented as a drop-down box in the UI.

learn more… | top users | synonyms

0
votes
1answer
36 views

How to query picklist item in the WHERE clause

I have the following function to get the available roles: public List<String> getConsulteeRoles(){ List<String> str = new List<String>(); List<SelectOption>roles = new ...
2
votes
1answer
30 views

Need assistance with formula syntax

Trying to utilize a picklist value to modify a territory assignment identified by state. My original formula, very simple: IF(LEN( {!State})=0, "None", IF(CONTAINS("AK:AZ:CA:HI:NV:NM:OR:UT:WA", ...
0
votes
0answers
11 views

Generating reports on Opportunities having Related list with contradictory conditions

I have an custom Object Eval which is having lookup relation with Opportunities object. This Object Eval having a field ' Type ' which is of type pick-list with some values like 'A','B','C' If two ...
1
vote
0answers
29 views

Picklist Not Visible In VF Page

There is a picklist field on Contact object that I am displaying in a Visualforce page with a custom controller. However the drop down is not getting displayed for the user. The profile has access to ...
0
votes
1answer
17 views

Picklist value check not working

I have below code snippet here where I am not getting if clause work properly. Can someone please help? Outcome_abv__c is a picklist value. I can't find any picklist value as '--None--' it comes up ...
0
votes
0answers
38 views

Picklist list values not getting selected in the text box?

I have used JSON parsing to autocomplete values in the text box. Drop down values are listed below the text box. When I select a respective value, its value not appearing in the text box... Please ...
0
votes
1answer
20 views

Picklist value Control visibility of records

I have to remove visibility of a profile to records of my custom object which are having Status__c picklist value as 'A'. Can someone suggest a way?
3
votes
1answer
26 views

Create unique label & values for a custom Picklist field

I want to create a custom picklist field that would represent a packaging type which would in turn represent a divider for the shipment's total quantity. For example, if the dropdown had the following ...
4
votes
1answer
22 views

Retrieve Translated country picklist values

I wanted a Metadata API to get the Spanish translations of Address Country picklist. Using Translations type or Address doesnt help me get the values.
-1
votes
1answer
18 views

how to use actionStatus for picklist in vf page..?

I have two picklist. One picklist have country values and one picklist have state values. I am giving those values through controller. Based on country name state piclist changed. It's taking taking ...
0
votes
1answer
39 views

Apex check for blank picklist value

I am writing a trigger that has an IF clause based off of a field. However, I cannot get it to recognize if that picklist is blank. I have tried: field.isblank() string.isblank(field) field == '' ...
2
votes
1answer
26 views

Setting record CurrencyIsoCode from Flow using Custom Setting picklist

I'm trying to implement Cloud4Good's guide to setting picklist values in Flows, based on a Custom Setting list. I've created the CS list, naming each record to match the standard picklist values GBP ...
1
vote
0answers
21 views

Is there a way to update/delete picklist values more easily?

I find that updating picklist values or deleting them is tedious. For example, suppose you have to change 10 values for a custom picklist field. You have to click on edit link near each value, and ...
0
votes
0answers
18 views

Opportunity Sales Process - Same Sales Stage Name but Different Percentage

I would like to set up two Sales Processes. Process A and Process B. I would like to have all of the same stage names on both Process A and Process B but I would like to have the percentages different ...
2
votes
1answer
45 views

Unable to access picklist value in apex

I am developing VF page and have couple of pick list values but I can't access any of the selected picklist value in apex controller. I have modified a code little for simplicity. I am getting null ...
1
vote
1answer
32 views

Set same picklist value

We are planning to set a new picklist field with the same values as the recordtype field. In order to keep the old values we need to (temporary) update the values of the new filed with the actual ...
0
votes
1answer
23 views

get date field based on picklist value?

I need to display inputtext or inputdate based on dynamic picklist. Example i have picklist name 'section' and values a,b,c,d. By default inputtext will shown. When you select picklist value is ...
0
votes
0answers
35 views

How to copy picklist value to another picklist using wokrflow or process builder?

I'm trying to copy picklist value from related record to another picklist and I tried both, workflow and process builder and I get stuck due to limitations of using a formula for picklists. Here they ...
1
vote
2answers
82 views

Too many SOQL queries: 101 - Test Class w. no queries / DML inside loops

I have a trigger which contains several Ifs, populating my record's fields with different values, depending on which picklist value has been selected. So I need to test Inserts & Updates of ...
0
votes
0answers
64 views

Dependent Picklist not showing values

I have below requirement where on Custom Object Marketing_Information_HS__c, there is a custom picklist Title_HS__c whose values depend on Record Type of the object. Also there is Rep_Segment_HS__c ...
0
votes
1answer
38 views

Restrict picklist values to show based on recordtype

I have a custom object Marketting_Information__c. There I have a picklist field Title. Now I have an apex page where User selects a particular Record Type from Drop-down and based on that I have to ...
0
votes
1answer
23 views

Multiple Record picklist to one contact multi picklist

Scenario: I have one contact "John Doe" who owns multiple and different type properties. In the property object, each has a "Type" and "Sub-Type". In the "type" picklist, it includes Drugs stores, ...
2
votes
1answer
44 views

programmatically selecting picklist item dependent value

I am writing a program which reads data from CSV text files and attempts to upload data into my organization's Salesforce account. I am writing this console application in C# and with my ...
1
vote
2answers
76 views

Fetching picklist values based on record type

Is there any way to fetch picklist values based on a record type. I am wondering how salesforce does it. I am fetching list of record types via ForceTK, next i want to fetch picklist values based on a ...
1
vote
1answer
12 views

Deleting a Picklist value affects Historical data on Reports ?

I need to delete a picklist value. Will that affect my previous data in the reports ? What will happen to the records that previously used this value ? FYI - I don't want to replace the value with ...
1
vote
3answers
82 views

Updating the picklist values in VisualForce/apex controller

Is it possible to have two control fields for a picklist field?Can we achieve it by Visualforce? I have three fields.Sold (Checkbox), Onsite (Picklist) and FlagStatus(Picklist). If Sold field is ...
0
votes
2answers
30 views

pick list selection validation on vf page

I have a custom field pick list. when a particular picklist value is selected(on edit mode of a vf page) and save the page it show show up an error message, how this can be achieved?
1
vote
1answer
26 views

Picklist value selection that will populate formula field date

I am trying to make a formula date field with will show Today's date ifa specific picklist value is selected. Here is what I have come up with IF(ISPICKVAL(Debit_Success__c , "Suspended"),TODAY()) ...
1
vote
2answers
51 views

How to add new values to a picklist from apex code [duplicate]

Is it possible to add new values to a picklist from apex code. I my trigger I am getting a set of picklist values now I need to add all these values to a picklist field on my object. Please help me ...
1
vote
0answers
60 views

Picklist Values in Dynamic Lightning Components

Is there an out-of-the-box solution to populate record-type specific picklist values when creating a picklist dynamically (in a Lightning Component) that references an sObject field? At this point ...
2
votes
1answer
56 views

How to write Address.settings in order to implement Country Picklists via Metadata API (eclipse)?

In order to implement Country Picklists on standard address fields I'm following the documentation here: ...
2
votes
2answers
83 views

Restrict Access to Accounts based on a pick list value

We have a pick list field in Account object. Values of the picklist are X and Y. Now I would like to hide or restrict access to records which have picklist value as X for certain profile called ...
6
votes
2answers
79 views

Text field to Picklist

Is it possible to push the value of a text field into a picklist without using a trigger in salesforce?
0
votes
1answer
24 views

Create Picklist Values by workflow update

Can I create picklist values dynamically by Workflow updates? In a custom object picklist values need to be populated with Account Names dynamically after creation of an Account. Please let me know ...
1
vote
3answers
145 views

Is it possible to retrieve picklist values from SalesForce using SOQL?

I am using a .NET library - SalesforceMagic - for communication with SalesForce. I use a SalesForce API user credentials and pass data to and from via a SOQL query. It all works fine. Now, there are ...
1
vote
1answer
43 views

Hide/Show a section in a Page based on the picklist

Is that possible without creating VF page to hide/show certain fields in the page? So, I have custom object that in it I have picklist with items: Item 1 Item 2 Item 3 so based on the pick from ...
1
vote
0answers
53 views

Use wrapper class to handle multiple checkbox fields in a single object

I've been handed a task and I don't really know where to start: I have a set of checkbox fields in one object. These fields do not work well when I want to create a new View in Salesforce. Each ...
1
vote
0answers
40 views

targeting screen for line item

I have custom object line item which is a child object of opportunity.For any line item i have some targeting fields like age, gender etc. These fields are in Line item object. But i have a separate ...
1
vote
1answer
36 views

Capturing Only Date & Month for a Date in Salesforce

We have a requirement to capture only "Date" & "Month" for a field (for e.g. Birth Date). We don't want to capture birth year. I think the best way to capture this in Salesforce would be by ...
4
votes
1answer
51 views

Get picklist values in apex in the order they were entered

I want to get the picklist values of a picklist field in Apex. I use the someFieldResult.getPicklistValues(); function and that works fine. This gives me all the picklist values, in alphabetic order ...
0
votes
2answers
40 views

Control Picklist value for a profile with out record type

How can I restrict a picklist value to be shown for a profile without record type controlling?
0
votes
2answers
45 views

Picklist field is disabled but profile and layout shows editible

I have a picklist field on a custom object that is disabled (grayed out) when I am editing a record on that custom object for a user in a profile that should have write access to that field. I have ...
0
votes
0answers
31 views

Updating Picklist Values Case-sensitively

I would love to be able to update picklist values through the Metadata API. However, some of my changes are nothing but case-correction (e.g., replacing, "Hi there" with "Hi There"). I understand ...
1
vote
1answer
19 views

Status field on ContractLineItem not available for reporting

I am creating a custom report Type with Service contract as primary object, and ContractLineItem as secondary object (both standard objects). On ContractLineItem, i need to include "Status" field ...
0
votes
1answer
94 views

Updating picklist value based on the value of another picklist

I am finally getting close with my trigger. I at at the point where I need to take the picklist value from one field and update the same value into a picklist with the same value on an unrelated ...
5
votes
2answers
51 views

Codes and Values

We have clients that use a lot of codes in their day to day activity. Eg: Take a look at the UK Government Common Basic Dataset: ...
1
vote
1answer
63 views

Dependent picklist across objects

Scenario: I have a Visualforce Page on which users create Quote Line Items based on a custom search function. First, they select the product. Next, they fill in some values that come from a FieldSet, ...
0
votes
2answers
32 views

How to create salesforce restricted picklist?

While creating a picklist or a multipicklist it is unrestricted by default.How do I change the picklist to a restricted picklist?
1
vote
2answers
70 views

Error on selecting value from dynamic picklist

I am getting error while selecting value from a dynamic picklist. The picklist values are generated on form load by selecting the distinct values for a field in an object. Class public ...
0
votes
0answers
29 views

Dependent Picklist

I have dependent picklist Of Country and State field. I want to fetch the State picklist values that are based on the Country picklist value. through schema.getDescribe()