Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [picklist]

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.

0
votes
1answer
17 views

separation characters between picklists value - Set

I have 6 multi picklists. I pushed all the selected values into Set For Example: Picklist A: Cherry Apple Picklist B: Apricots Avocado Picklist C: Banana Blackberries Blackcurrant ...
0
votes
0answers
6 views

Can change Picklist Value Sets values after package? [on hold]

Can I change the values of a Picklist Value Sets after package ?
0
votes
0answers
26 views

Visualforce dropdown rendering invisible values

I have a Visualforce page using Lightning stylesheets with reRender attributes on the time selectList. For some odd reason, some users are experiencing intermittent issues with the picklists ...
7
votes
0answers
41 views

Is there a way to automate the deployment of changed picklist values in a pipeline using SalesforceDX?

Sometimes we need to change the label or, more commonly, a value for a picklist item. Suppose we do change the fullName attribute of a picklist field, to match an external system that will integrate ...
0
votes
0answers
36 views

How to access global picklist value set in apex code [duplicate]

I want retrieve Global picklist Value Set and assigned them into a drop down box using apex. How could I resolve this?
0
votes
0answers
11 views

Can i create Dependent picklist in flow where controlling picklist is “Screen component Picklist made with choice resource type”?

I have created flow screen, and created 1 picklist from screen component and added choice resources as picklist values. Can I create dependant picklist for above picklist? eg. Screen have picklist ...
0
votes
0answers
8 views

Clean country state data before activating country state picklist

There are about 100 different countries and many states on production. Now I want to activate the State and Country picklist. But the State data is messed up. How would I clean this up? Through ...
0
votes
2answers
24 views

How to remove an option from mutli-picklist field in apex trigger

I want to write an apex trigger action to remove a particular value from multi select picklist field based on some condition.How can I do this? This is my trigger action: public static void ...
0
votes
1answer
17 views

How to Enable all state list for State and country picklist

We were using the state and country text field in address. Now, we have enabled the standard state and country picklist. But the state picklist is shown for only 9 countries. Eg. USA has state ...
1
vote
1answer
26 views

Assigning values to blanks in a picklist

I am trying to assign values to all the responses in a picklist including blanks so I can bucket in a report into responded and not responded. My formula is below but I am getting multiple syntax ...
2
votes
1answer
44 views

How to mass-deactivate 700 picklist values

I am looking for a way to deactivate 700 picklist values (not manually) I do NOT want to delete the values, only deactivate them I am trying with ant migration tool with this package.xml: <?xml ...
0
votes
1answer
36 views

popup on case object edit page, when a picklist value is selected

Is there any way I can have a dialog box pop over on selection of particular picklist in the standard case object. My use case is: If the user selects one of the picklist value from the dropdown in ...
0
votes
1answer
32 views

How to make dynamic picklist?

I have one custom object Backlog and I have one picklist field Full_Name_of_the_Specialist__c which is having manually inserted all the Names of the Specialist profile. Now when new employee come, I ...
1
vote
1answer
93 views

Lightning Web Components - I am having problems getting the PicklistValues for the Status field in the Campaign object

I have the following code import { LightningElement, wire, track } from "lwc"; import { getObjectInfo, getPicklistValues } from "lightning/uiObjectInfoApi"; import CAMPAIGN_OBJECT from "@...
0
votes
0answers
17 views

Rerender of Outputpanel not working in modal component

I have a VF page with a modal component in it, which gets displayed depending on a button click. There are 2 issues: I pass a record id to the modal component via a data-attribute, which populates a ...
0
votes
1answer
14 views

Trigger change in PickList4.js from Salesforce

How can I trigger a picklist change event inside salesforce: We have the following code : <apex:outputPanel id="dynamicRerender"> <apex:repeat value="{!strings}" var="...
1
vote
1answer
25 views

How to adress rerender in visualforce page on pageload

I currently use the actionregion to rerender an image based on the input of a picklist field. This works by showing the image if I select the correct value in the picklist field. How do I do an ...
0
votes
2answers
154 views

Unable to display the multiple picklist field values in lightning component

I am trying to display 3 different picklist field values in a input form using lightning component. I am able to display the values for any one of the picklist field only. If I try to display the ...
0
votes
0answers
20 views

how to use .getvalues with map and display the picklist value from custom setting on VF page thoghing null pointer exception [duplicate]

have a custom setting called product and under that i created two fields called and other is string field BD__c. i want to display picklist value based on string matching record. my custom setting ...
0
votes
0answers
20 views

Dynamically created Picklist setting of options [duplicate]

I am trying to manually assign picklist values to a dynamically created component. I can't seem to get the correct syntax for options. I don't know if I can use option when dynamically creating the ...
6
votes
1answer
293 views

How can I query the supported timezones in Apex?

Apex provides a TimeZone API. You can use this to query the detail of a time zone, named using its "SID" (a value like "Europe/London" or "America/New_York" for example). However, this API doesn't ...
0
votes
0answers
54 views

JSForce - Updating picklist value API names

I'm trying to automate with JSForce a manual step which consists on renaming the API name of some pick-list values but doesn't look like it's possible. Tried update with conn.metadata.update('...
0
votes
5answers
40 views

Field type for lookup

The client has an object with multiple fields. One field is to choose an account. Another field is customer type. Customer type is currently a picklist, but the client wants to change it to a lookup ...
0
votes
1answer
26 views

How can I find where a Record Type object's field value Pick-list is getting its values from? - Task & Event objects

So far when I'm asked to add a value to a record-type picklist I can go into the field of the object, add the value, and then go into the record type picklist and add it to available values. For this ...
0
votes
2answers
47 views

custom setting not displying correct picklist values based on the condtion

i have a custom setting called product and under that i created two fields called and other is string field BD__c. i want to display picklist value based on string matching record. my custom setting ...
0
votes
2answers
25 views

Lock a single Picklist value

How can I restrict users from viewing access to a single picklist value? only admin users should be able to see this value.
0
votes
1answer
22 views

Is it possible to create a picklist of Record Types?

I need to create a picklist on an object, where i can select record types that are filtered by a lookup field. Example: Accounts object has a lookup field for Custom_Object B Account also has a ...
0
votes
1answer
11 views

Picklist Text to Numerical Value

I am putting together an evaluation form in Salesforce. I am using Customer object Greeting__c, the pick list values are High, Met, Below. I would like to assign a formula that sets "High" to ...
0
votes
2answers
171 views

How to limit picklist values based on Role?

I have added a value to a picklist that is dependent on the value of another picklist. I have added the same value to a different picklist. It is added for particular record types. When the user of a ...
2
votes
0answers
81 views

Unable to update manage package picklist field entries using apex code (metadata API)

Unable to update manage package picklist field entries using apex code (metadata API). I tried using two ways of creating picklist values of metadata API. Way 1: public static void ...
0
votes
1answer
18 views

how to show picklist values in different languages dependent on the current user’s country?

I want to show picklist values in the language of the logged in user. (don't want to use VF pages)
0
votes
0answers
48 views

Using Custom Permissions to restrict picklist values to specific users

My goal: Using Validation Rules and Custom Permissions to restrict accessibility of specific values seen in the Account Type picklist to be available only to specific users. I have the custom ...
0
votes
2answers
48 views

Restrict access to picklist value to specific users

Disclaimer: I am rather new to Validation Rules (and Salesforce in general) and GREATLY appreciate any assistance this community could offer I am attempting to lock down 3 picklist items from the ...
0
votes
1answer
46 views

Salesforce Lightnining unable to see full values in UI Picklist

In Salesforce Lightning Experience, whenever I have a 'Classic view' picklist, when I click on the picklist to choose a value, I am unable to view the select options: If i minimize my browser window ...
0
votes
0answers
16 views

Picklist value added to Inactive values list if i create new value from rest API?

I have one pick-list field called type if i gave new value to type pick-list field it's creating the value in field but it is in active.I am creating record Throw REST API.How to make this active ...
0
votes
1answer
36 views

Picklist values activate or deactivate with workflow or process builder

I am working on the Opportunity Record and we would like to have a more granular reason as to why a Product Opp was lost to a competitor. The business folks want a single picklist but this picklist ...
0
votes
0answers
33 views

more than 2 dependent pick-lists

I am aiming for creating a dependency among the following pick-lists: Continent Europe Asia Africa Country Spain Netherlands China Korea Morocco City Madrid Barcelona Rabat Casablanca Beijing Macau ...
0
votes
1answer
104 views

Unable to Edit TaskSubtype Picklist Values

I'm unable to add any picklist values to the Task field TaskSubtype. I actually can't even see the current values without looping through the describe results for TaskSubtype. I have no problem ...
0
votes
1answer
130 views

Issue with Updating Pick list Values through Metadata API in Apex Class

What I have done : Installed repository from GIT HUB In my Personal org https://githubsfdeploy.herokuapp.com/app/githubdeploy/financialforcedev/apex-mdapi Created a custom controller and method : ...
-1
votes
1answer
164 views

I want to make a picklist field required in lightning component

<div class="slds-form-element slds-form-element_edit slds-form-element_stacked slds-hint-parent"> <c:PicklistSelect objectName="Events__c" fieldName="CurrencyIsoCode" label="Currency" value="...
0
votes
1answer
39 views

How to retrieve picklist option values in heroku

I am trying to get and display the picklist option from salesforce, in heroku. Can anyone kindly let me know how I can achieve this. I am querying records from case. And I want to display the case ...
0
votes
0answers
105 views

Error: top picklist missing

I am using the flow builder to create a three level dependency among three Pick-lists; however, I am getting the following error message(check screenshot too): Error: top picklist missing I am ...
1
vote
1answer
55 views

Error when converting a Lead record

When converting a Lead record the following error message is displayed: System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST, bad value ...
0
votes
0answers
102 views

SFDX how to retrieve custom picklist with force CLI

when I push the source to my scratch org I get the following message "You must specify either picklist, globalPicklist, or valueSet." is there additional element to add into the package.XML for ...
0
votes
1answer
63 views

How to create a Purchase Order record in Salesforce using CreateAsync method in c#

I'm a newbie to salesforce and i want to create a custom Purchase Order record using CreateAsync method of Force.com Tool. I'm successfully able to create a record when i'm just passing the parameter ...
0
votes
0answers
144 views

Lightning picklist in table

I have a table for create expenses. The table shows 3columns (a picklist, a decimal, and a text). I create a ui:inputSelect for the picklist. The table load the values of picklist, and save the value, ...
0
votes
2answers
85 views

How to assign both (value, label) to picklist field in Unit Test class?

Added explanation: Since the Case.picklistField is constantly modified by other Org user (non-developer), so I want to avoid data dependency as much as I could. I have a case trigger method using ...
5
votes
1answer
44 views

sObject describe metadata showing duplicate picklist value entries

I'm doing some code generation based on the standard org sObject metadata. As part of that process I'm using the DescribeSObjectResult.fields.picklistValues PicklistEntry records to determine which ...
0
votes
1answer
33 views

if picklist label is queried using ToLabel() for an SObject, one cant save updates to this object if picklist is restricted

I followed the article below and got the picklist label-name instead of API name for an object. How to query 'Value' of a picklist rather than the 'API NAME', using SOQL? However ...
0
votes
1answer
79 views

want to create multiple Picklist in lightning and show all sobject in it

I am trying to create a multiple picklist on lightning page but i am not able to fetch sObject in multiple picklist. Here is my code :- Controller class:- global with sharing class AboutController{ ...