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.

Filter by
Sorted by
Tagged with
0
votes
1answer
23 views

Using ANT to migrate picklist updates

I have a picklist with 3 values: A, B, D. In my Sandbox X, I edited 'D' to be 'C' both value and label. This made all existing records using 'D' to now show 'C'. When I deployed the picklist from ...
0
votes
1answer
26 views

Picklist Field Values [closed]

I am trying to add new values for a picklist field and removing old values of that field from a specific Record Type only. Those old value will be active just removing from a specific record type. ...
0
votes
0answers
27 views

Pre-propulate multiple picklist values via flow that contains comma

Hello dear community, I hope you can give me some answers to my problem. I have a multiple picklist field that contains, for example, following values: Development Analytics, Sales Sales Marketing &...
0
votes
1answer
21 views

picklist default value

i'm a little bit confused with default picklist values. Let's say there is need to be ensured that every time record is created or updated value is populated. I believe that setting Use first value as ...
0
votes
1answer
15 views

Date Field should populate date everytime, whenever picklist value is changed

Whenever a picklist value is changed ( considering I have 3 picklist values in the Picklist field), I want my date field to be updated for today's date. And this update should happen each and every ...
0
votes
1answer
27 views

What happens to exisiting records when you change Picklist API name

I am wondering what happens when you have a Picklist field with 2 values Yes and No and you change Yes API name and label to Approved, what happens to existing records in the system with the Yes value....
0
votes
1answer
31 views

Picklist Choice Set - Fields does not appear for New Object

I created a new Object and new fields. I am building a Screen flow. I am trying to create a Picklist Choice Set type resource. https://help.salesforce.com/articleView?id=sf....
0
votes
1answer
29 views

Picklist values showing on Lightning but not showing on Classic

I have a picklist with 4 values. In Lightning all the values are displayed and the user can select them, but when the same user change to classic and try to edit the picklist just one of the values is ...
0
votes
0answers
13 views

FSC InsurancePolicy.Status mapping to InsurancePolicy.IsActive

The FSC InsurancePolicy object has a standard Status picklist field that has an Inactive property for each picklist entry - this Inactive property drives the IsActive field on Insurance policy object (...
0
votes
0answers
66 views

LWC table my custom object and combobox picklist filtred

I have a task to display a table of positions with the status field Combobox Picklist filtred. As I have not experience in JS and LWC, it is so difficult for me to understand how to do this. Help me ...
0
votes
0answers
28 views

Set picklist field from record variable in flow

i have requirement to create new lead based on creating a new record of custom object. i am using process builder and Auto launched flow to implement this requirement. in my flow i am using get ...
0
votes
0answers
18 views

Event Record Type Picklist Filter

We use a shared picklist field for both events and tasks. And I am trying to filter out some of the picklist values based on whether it is an event or a task. I went to the Record Types for each of ...
0
votes
0answers
22 views

Can you deploy inactive picklist values using changeset?

I am aware and it specifically says in the Salesforce Documentation here that you cannot deactivate active picklist values with a changeset BUT, can you import INACTIVE values from sandbox to prod to ...
1
vote
0answers
25 views

Restrict Users from updating one field before another dependent field is updated and Saved

In my Org, there are two interdependent fields named Pacing and Pacing Notes. The Pacing can't be set to Customer-Specific until the Pacing Notes field is empty. I am checking and validating this ...
1
vote
1answer
47 views

I have a new set of picklist values based on the record types of a custom object. How do I enable them 'selected' by default when the org is upgraded?

I have a new set of picklist values based on the record types of a custom object. How do I enable them 'selected' by default when the managed org's package is upgraded? These new set of picklist ...
0
votes
1answer
38 views

Having two controlling field in a object

I have a few field object which is country, weight and postage rate. Each of them is a picklist data type. What I want is, when the user chooses country and weight, it will affect the postage rate. ...
0
votes
2answers
51 views

how can I avoid a for loop when searching against a list in a picklist field

I need to search for a list of strings and match against a picklist field. So far, the query below only works when there is only one string in the query string. Appending more strings does not work ...
1
vote
0answers
18 views

Multi-picklist width collapses in Lightning with SLDS component loaded

I'm converting an org to Lightning and have this markup in a Visualforce page: <apex:inputField value="{!classInstance.opportunity[field]}" required="{!IF(isSaveOnly,...
0
votes
0answers
12 views

Using user language picklist in custom object field

I want to add a field on Opportunity to set the primary language for the customer. Is it possible to use the same picklist as provided in the "Language" field of "User"? What is ...
0
votes
2answers
341 views

Not able to update picklist fields as unrestricted from restricted

The option “ Restricted picklist to the values defined in the value set “ greyed out. I need to unrestricted this field. I am not sure why it is greyed out? How can I unrestricted this field now?
0
votes
1answer
59 views

Update Custom Picklist Values Translations via MetadataService

I have a piece of code that allows me to update custom picklist field values: public static TM_EComUtils.genericResponse addPicklistValuesViaMetadata(String fieldAPI, String sObjectAPI, List<String&...
0
votes
0answers
18 views

How to get translated picklist value of a picklist field in LWC [duplicate]

Is there any standard capability using method/Api/Wire to get the translated value as per user language in LWC. Regards Stay Safe
3
votes
1answer
50 views

How to get Picklist color value (hexadecimal value)?

Assuming we select for each picklist value a specific color (ie not dynamic assignment) how to query the hexadecimal color value in Apex/soql ?
0
votes
1answer
46 views

Issue when using ISPICKVAL in formula

I have read the documentation and I am aware that picklist values need to use ISPICKVAL in the formula I want this formula to show that If the status is 'A' or 'B' it will show the days (in numbers) ...
0
votes
1answer
71 views

Stage Picklist on Opportunity Not Shown by LWC

I am trying to show stage picklist values of opportunity object through lwc but iit shows error Invalid reference Opportunity.Stage of type sobjectField in file lwcPicklistOppor.js here is my code <...
0
votes
1answer
41 views

VS Code drops leading zero in picklist metadata values

I'm having picklist metadata problems with VS code and a regular sandbox (not a scratch org). I'm using source format with the sandbox. I have a picklist where some values have leading zeros, e.g. &...
1
vote
1answer
21 views

Is it legitimate to assign a text value to a picklist field

I know it is possible to dataload a text value that "happens" to match a particular picklist value into the picklist field. The field looks no different than if you actually selected the ...
0
votes
0answers
29 views

How to restrict user from selecting previous values in picklist Journey

Hi We have a unique scenario in the Picklist value selection for the users. I have already checked on this earlier post from salesforce stackexchange Trigger to validate selection of Pick-list values ...
0
votes
0answers
31 views

Get Current Picklist Label in Trigger

I have on a CPQ quote a country picklist and a text field for the country name. I want to fill the country name field with the picklist's label whenever it changes, that is, the displayed name, not ...
1
vote
1answer
140 views

How to add Dynamic Picklists to your LWC Design File for FlowScreen?

What is the best way to add dynamic values as datasource to FlowScreen components? Is there a way? Assuming that it's not supported, what would be the best alternative to keep the code consistent. I ...
0
votes
0answers
13 views

Set value from collection variable to the choices in picklist field using Loop

I am using an apex action that returns a list<list> which I am storing in a simple Collection variable. I want these string values to be acted as values in a picklist field (dropdown) that is ...
0
votes
1answer
42 views

Error while adding new value in record type and updating metadata

I habe a code that should add new picklist value in all RecordTypes but after run it i get an error in method updateMetadata "System.CalloutException: Web service callout failed: WebService ...
1
vote
1answer
167 views

Multi-select pick list in a screen flow

I created a component that would make a multi-select pick list on a screen flow. It works except you can't assign it to a variable that can be referenced when moving on to the create records part of ...
0
votes
0answers
13 views

Picklist required UNLESS other picklist is a specific value

I know how to make a field required using Validation Rules, and right now I have the following: ISNULL(TR1__Language__c) However -- if I want to make that field NOT required if a different picklist is ...
0
votes
1answer
29 views

Cannot remove global picklist after deletion picklist

I am trying to delete a global picklist but this references a deleted picklist. How do I resolve this?
0
votes
1answer
57 views

How to set a default value on Lightning Component Option Select without changing the order

Can someone help me with this line of code as I am still new to Development and learning it. On the below lightning component code, the default value shows as "Call" and now the business ...
1
vote
1answer
38 views

Visualforce page with custom controller to create filtered picklist and list view

I'm trying to create a public facing visualforce page that doesn't require login. Users will be able to select a campaign of a specific record type, and then select an opportunity where the Primary ...
0
votes
2answers
40 views

Constrain child picklist based on parent picklist

I have a Case object which has 'Category' picklist with values 'Plumbing','Electrical' etc to handle the issue customer is reporting. Need to have a child object 'Parts' and it needs a Parts Picklist ...
0
votes
0answers
19 views

How to correctly implement the selection of an account in the picklist so that it is correctly recorded in the new contact?

I have a form to add a new contact and am having trouble recording if I fill in the "Account" field. If you do not fill it in, then the new contact is added to the database without any ...
3
votes
0answers
53 views

When to use FieldDescribeOptions.FULL_DESCRIBE in SObjectField.getDescribe(options)?

Background Playing around with the SObjectField class has led me down a rabbit hole in wondering why and how I can make use of the getDescribe(options) method where options is a FieldDescribeOptions ...
0
votes
1answer
18 views

Problem with aura and JS controller

I have a little problem. I have a simple program that gets a value from picklist , and using this value my program must show all values from the database Thats my code COMPONENT <aura:attribute ...
0
votes
1answer
17 views

Mapping Webform picklist values to different values on Picklist in Salesforce

I'm not a developer by any means, but better want to understand what is feasible out of the box with Salesforce. Scenario is I'm thinking of a web form that will act as a landing page for customer ...
0
votes
1answer
27 views

How to add `Type` field to `Event` object

I am trying to add Type field to the Event object ( https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_event.htm ) object. I have tried the ...
0
votes
1answer
278 views

Validation rule to prevent change if field has specific value

I have a situation where I want to prevent (some) users from changing a picklist field once it has been set to a specific value. I'm trying to create a validation rule that fires if the field is ...
3
votes
1answer
38 views

Error when generating package version with values in account standard picklist

I have a couple of values on the Account's Type field in a managed package. A couple of days ago I generated a package version successfully, but now when generating a new version I'm getting this ...
0
votes
0answers
10 views

If I have a record type with picklist fields inside, how can I extract the enabled and non-enabled values ​from them through a soql query? [duplicate]

If I have a record type with picklist fields inside, how can I extract the enabled and non-enabled values ​​from them through a soql query?
0
votes
1answer
35 views

How check with SOQL if a picklist value is available or not for a specified record type

How check if a picklist value is available or not for a specified record type ( through SOQL)? Thanks in advance
0
votes
1answer
56 views

How can I create picklist field on a object, where the values/options of picklist should be the fields of another object?

I am new to salesforce and I have been trying to find answer for this requirement related to our application. Basically I have a Custom Object Field_Config__c, on which I want to create a picklist ...
0
votes
0answers
46 views

Tooling Api - bypass the Duplicate Label Error

I'm trying to update a global value set, using Tooling API. When I'm trying to insert a new value - if its label contained already in my old values or in my list which I'm about to upsert, Its throw ...
0
votes
0answers
28 views

Country and state picklist with lightning web components

How can I capture the country and state picklist in lightning web component picklist input? Please help me to give some guidance. Thanks Sunil Kr. Gupta

1
2 3 4 5
20