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
3answers
38 views

Looping through a Multipicklist

I have a field called ATC__c on Contact which is a multipicklist with values 'A,B,C'. I'm trying to check if the newly inserted Contact has one of the values in a multipicklist field. If the newly ...
0
votes
0answers
20 views

Why the list view in Salesforce can not search picklist field with multiple language?

I have an example picklist below: English    Japanese    API Apply       申請        &...
1
vote
1answer
19 views

Functional difference between Business Processes and normal picklists?

What are the benefits of using a business process for leads, cases, opportunities and solutions rather than defining a normal picklist to hold the record's status? Is it just so you can assign the ...
0
votes
1answer
26 views

Lightning-Input-Field picklist show incorrect value if Record Id changes LWC

I have an LWC ("Child_Component") that displays a lightning-record-edit-form which includes a lightning-input-field that references a picklist. Child_Component receives the record id for the record-...
0
votes
1answer
46 views

Can I set API names of Picklist values seperately? [duplicate]

I'm making a picklist with 385-ish values. I want these values to have different API names than their label value. Is there any easier way to edit the API names rather than one at a time?
0
votes
1answer
29 views

How to use time field as an input field in VF Page?

In Salesforce record, the time field shows as a picklist but when I add the same time field to Visualforce page in a form, it only displays as a text field. Am I missing anything here? Visualforce: &...
0
votes
1answer
21 views

When renaming Picklist Value Labels, where else should I be making changes?

We are renaming some picklist vaules that are heavily referenced in formulas, validation rules, and Apex/VF code. My understanding is that any references in formulas or code are looking at the API ...
4
votes
4answers
209 views

How to translate “Closed” in Opportunity?

How do I change the textual value of 'Closed' to "I like cheese" in English, and 「チーズが好き」 in Japanese? "Closed" isn't an actual stage, so it's not in the "Stage" picklist translations: And I've ...
0
votes
1answer
16 views

Values undefined when using Picklist (After Render Error)

Hello I am able to successfully push my LWC to my org, but I get an error when I try to load the page. This is the error that I am getting: afterRender threw an error in 'c:forms' [Cannot read ...
0
votes
1answer
17 views

How to add value to a Picklist field in a custom object?

I want to insert a custom object and one of the field in the custom object is a Picklist (Multi-Select). I used the following code: PResources__c pResource = new PResources__c(); pResource.Name = ...
0
votes
1answer
17 views

Picklist choice for flow

I have a field that stores comma separated values. We ask users in a free form text (string field) to add fruits they like, for example: Apple, Banana, Pineapple, Mango, etc. On the flow screen, we ...
0
votes
1answer
16 views

How to add fields to my Application Tabs?

I just created Application "Time Management",created Objects fields and tabs. In my Application only Default Id field is visible but I want to make visible all other fields e.g name,city,email e.t.c ...
1
vote
0answers
27 views

How to programmatically update picklist fullName value in the same deployment without getting a “duplicate label” error?

I have the following code: <?xml version="1.0" encoding="UTF-8"?> <CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> <fullName>Some_Custom_Field__c</fullName> ...
1
vote
1answer
22 views

Syntax for rule with multiple pick list

I'm new to creating validation rules and am having problems with the syntax. I want to trigger an error message if a picklist question is not answered when closing an opportunity. I have viewed ...
0
votes
1answer
16 views

Page Layout and PickList for Custom Object

Let's say I have a custom object with 2 picklist fields. I've added this fields into page layout but i cannot see that ones. Wham am I doing wrong?
0
votes
0answers
26 views

Based on Selected Data, get different picklist value in salsforce?

I have requirement like based on Work Order Service Type, Activity picklist value different like: if Repair : then picklist value should be Repair and Other. If Other : then picklist value should be ...
0
votes
0answers
10 views

Updating Picklist values in RecordTypes through Mule

I am trying to update the Picklist values availables for a Recordtype using Mule. I already manage to update the picklist values inside the GlobalValueSet, but I can't make it update the RecordType ...
0
votes
1answer
20 views

How to get Default Value set via formula editor of picklist field in Apex?

I have one custom Picklist field in which based upon logged-in user's Profile default value should be selected. For example: Test_Picklist__c Values: 'Sys Admin', 'Client', 'Other' Default Value ...
0
votes
1answer
14 views

How to populate 'Available' multi-picklist side

I created a multi picklist field in my opportunity object. In the trigger I created I call the following: BCAccountID_test__c= 'FIRST VALUE' + ';' + 'SECOND VALUE'; but those two values are then ...
1
vote
2answers
46 views

How to pass a list of string values to a picklist in a flow

I currently pass a list of strings from my apex class to a flow. The list of strings {!cancellationReasonsList} I pass to a choice recource. The choice recource I pass to a picklist. Instead of ending ...
0
votes
0answers
39 views

Get StageName Picklist Set\Sales Process based on RecordType

I have to create a Kanban view like Lightning component and to do that I need to list out Opportunity Stages based on Record Types. Using MetadataService I am able to to get all the picklist values on ...
0
votes
1answer
27 views

How to import MetaDataAPI to my SalesForce project?

I want to Update Picklist Values in a standard field in my project every X time. in my Apex Classes I was writing that function: I search for this error and figure out that I need to import ...
0
votes
0answers
26 views

How can I take the values from multi select picklist into another field?

I have a multi select picklist which I need you take the values and put into a child object. The picklist has 100 values. Can't use cross object formula because of char limits. Is there any way to do ...
0
votes
2answers
204 views

[Cannot assign to read only property '<field_name>' of object '#<Object>']

I am building an editable related list using LWC. I need to render percent, picklist, text and lookup fields in the related list. I am stuck on the picklist child component - unable to save the newly ...
0
votes
1answer
34 views

Does Salesforce allows to have duplicate Picklist values?

As a System Admin, my requirement is to add duplicate picklist values to different picklist API names as shown below. I need to change FROM TO Can both the picklist API values's N and MN have the ...
0
votes
1answer
31 views

Lightning button to update records

I have a component with a table, of which one of the columns is a picklist and is iterated: <td data-label="Decision"> <ui:inputSelect class="slds-select spear-select" aura:id="...
0
votes
0answers
14 views

IDE Retrieve: Picklist with both Active/Inactive Values [duplicate]

Hopefully a quick question - I have a field which has over 100 inactive picklist values on it which all need to be activated. I'd like to do this via the IDE if possible, but I haven't pulled through ...
1
vote
0answers
45 views

Get the active and inactive values from the Picklist

I'm trying to get the active and inactive values, especially the inactive ones, from a picklist to activate them via code. The problem is that I can only get the active values. List<String> ...
0
votes
1answer
18 views

How do I create a picklist from a given collection in a flow?

I have a flow in which I eventually get a collection of contacts. I want to display all of those contacts in a picklist which saves the ID of the selected contact for further business logic. My main ...
0
votes
2answers
87 views

Setting record type in Apex before insert trigger isn't setting default value of a picklist for that record type

I have a Task in Salesforce with a custom record type of My Custom Record Type. This record type has a picklist field named My Custom Field and for this record type, I set the default value to My ...
0
votes
1answer
34 views

Error handling for iterable child component inside parent in lightning web components (LWC)

In my parent component , I have used child component inside and iteration. So for example child component is present twice in parent component. Now I want to show error message when on of the required ...
2
votes
1answer
39 views

Get picklist values order of standard fields

I'm trying to get the order of picklist values on Task Type. I have a SOQL query as follows SELECT Id, Value, Label, IsDefaultValue, IsActive FROM PicklistValueInfo WHERE entityParticleId = 'Task....
0
votes
1answer
136 views

New Picklist value not showing only in lightning component

I added a new value to an existing picklist (not dependent field). I added it to the record type and I see it in the record layout. BUT I can't see it in a custom lightning component which displays ...
1
vote
2answers
421 views

Screen Flow Picklist from Lightning Component

I would like to display a Picklist or Radio Button component inside a Visual Flow Screen with choices given by a List of values. I have to pass these values to the Flow from within a Lightning ...
1
vote
1answer
104 views

How update record picklist field from a variable in a flow?

I'm trying to found a solution for this one. I've a flow in place that creates or updates a record based on some criteria. On record creation or update, I'm assigning a value to a picklist field. ...
0
votes
2answers
36 views

Want to write trigger on object to update the picklist field

Class : MonsterPositionClass Field : Experience__c Field : Position__c (picklist )> ( values:'Jr Engineer', 'Team Lead') Condition : if(Experience__c >= 7 ) then Team Lead should be shown my ...
0
votes
2answers
17 views

Automatic Date Stamp on a Stage Change

I want to add an automatic date stamp when an opportunity moves from Stage 1 to any other Stage that isn't closed.
0
votes
1answer
28 views

How to dynamically set multiple choices to a picklist of a Flow Screen using a resource of type 'Choice'

Is there any way of dynamically setting multiple choices to a picklist of a Flow Screen using a resource of type Choice? It seems a collection variable of type Choice cannot be created nor can it be ...
0
votes
1answer
153 views

Flow Builder How to populate the Picklist Component default value for a Screen Element

How to populate a default Picklist Component value for a Screen? For instance, when I do a text input box I can provide a merge field into the default value box. When I click on the default value box ...
0
votes
0answers
37 views

How to delete (not inactivate) picklist value from metadata api wrapper

I have installed the metadata api wrapper by financialforce : https://github.com/financialforcedev/apex-mdapi Then I added some modifications into the CustomValue class in the MetadataService Apex ...
0
votes
1answer
91 views

How to set picklist options in a flow's UI using values retrieved from a callout

I would like to make a callout using Apex and use the return data to set the options in a picklist screen component of a flow. Is this possible and if yes, how should I go about it (I believe I need ...
2
votes
1answer
45 views

Change picklist field with another picklist field in a formula throws 'Compiled formula is too big to execute'

I have a simple formula that is referenced in other formula. When I tries to change a pickist field with another picklist field I can't save with the following message: Formula(s) that reference ...
0
votes
0answers
31 views

Change Set Successfully deployed, no changes

I had made some changes to the picklist values on the "Event" object (which is tied to a global action), and other minor changes. The changes have successfully deployed to the production from the ...
1
vote
1answer
225 views

How to reference Choice Value in formula instead of its label?

I have a Picklist screen component in a Flow which has many choices defined in the same flow: Now I need to make a formula that references the Choice Value of a given choice: If I use UPPER({!Plan} +...
2
votes
2answers
98 views

Public set of strings to use in the entire code?

I have a picklist field called Meeting Type that's being used in multiple classes. Whenever someone wants to change the value of the picklist, i have to search for all instances of that value in the ...
0
votes
0answers
19 views

Adding a restricted picklist value from another field when it is blank

I have the following code where I am checking restricted picklist values bell__c and nextbell__c I want to check if bell__c picklist value is null , I want to add nextbell__c picklist values to ...
0
votes
1answer
41 views

Formula to update multi-picklist with Process Builder

I've created a process to update a multi-picklist (Cloud Name) based on some words contained in a text field (Title) - it works but due to the pick values I am getting false positive. if(Contains([...
2
votes
1answer
141 views

The flow failed to access the value for myVariable_current.Account.Owner.UserRole.DeveloperName because it hasn't been set or assigned

I am getting these two process builder error's Error element myDecision (FlowDecision). The flow failed to access the value for myVariable_current.Account.Owner.UserRole.DeveloperName because ...
2
votes
0answers
44 views

How to get picklist values and translations using Aura and Apex?

Background: I was using a an aura lightning:recordEditForm containing a picklist field. This component will automatically detect user language and use the translations you have set for that field. ...
0
votes
1answer
41 views

How to populate a picklist with it's label value instead of API value from class

Have the following code which populates field Code__c where null List<Account> accounts = [ SELECT Id, Code__c ...

1
2 3 4 5
18