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
0answers
21 views

Picklist Error : INVALID_TYPE_ON_FIELD_IN_RECORD For Flow

I am getting the records from Flow and the same record I am trying to update in my apex class, when the DML starts I am getting below error message first error: INVALID_TYPE_ON_FIELD_IN_RECORD, ...
2
votes
2answers
29 views

Get custom Picklist value in LWC without Record Type

I have created a custom Picklist in PricebookEntry and trying to get the Picklist values in LWC. All the solutions I found needs to pass the RecordTypeId to get the list. @wire(...
1
vote
1answer
27 views

Can we query State and Country/Territories Picklist via SOQL? [closed]

We need to check the validations manually in Batch Apex while creating SF Accounts? We have a scenario where we store all the data in our Custom Object (brought the data from the third party). In a ...
0
votes
1answer
27 views

Mirroring of single picklist value in all picklists in nested aura iteraton

I have used an aura iteration to create a table and I have a picklist field inside that table which uses an aura iteration itself. The problem here is that whenever I select the value of any one of ...
0
votes
0answers
31 views

Keep Picklist values in a flow when redirecting

I have a flow to create a lead record. I have several fields, some of them are picklists where i have 2 choices, one choice for --None--, and another choice with the values of this field. For example, ...
0
votes
0answers
23 views

Unable to get option text name in controller js [duplicate]

<lightning:select name="levelrate" aura:id="recpickVal" class="level" label="Select Tier" onchange="{!c.tierRateChange}"> ...
0
votes
1answer
36 views

Use case for parts and repairs

I have a use case that requires calculating "repair costs" on Maintenance Request Objects (I am calling it MR 2). The partname and partcost are fields in a Parts Object. There are about 100 ...
2
votes
1answer
43 views

Dynamic Picklist for lightning-combobox

community. I got a question about two custom fields with type Picklists and lightning-combobox. Suppose combobox 1 shows Picklist 1 value while combobox 2 shows Picklist 2 value. <template> &...
0
votes
0answers
29 views

How to render picklist values according to those available in the related object?

I am a newbie to salesforce and I am doing a project on hospital management system in it. I have Objects for Hospitals, Wards & Patients. Patient is in a lookup relationship with Ward and Hospital....
0
votes
0answers
14 views

Sending Email To All Contract Members In Picklist Field

Currently in our organization when a contract is reaching a certain date an email is sent out to certain values in a picklist Contract_Team_Member__c field such as Contract Owner and Contract Manager. ...
0
votes
1answer
30 views

Lock Picklist Field After a Record is Created

What would be the best solution in order to lock a picklist field after a record is created? Scenario: Upon new Lead creation, users choose a picklist value for the Lead Source field. Once the record ...
0
votes
0answers
21 views

Picklist default value not working while editing record

There is a picklist field called "Vertical" as a controlling field on an object named "ACP". "Application" and "Technology" are two dependent picklists of "...
1
vote
1answer
23 views

Using IsPickVal() function inside Email Templates

I tried using the following ISPICKVAL formula within an email template as shown: MQP Type is a pick list on the Task Object. I have run integration code(Python under AWS) which sets the pick list ...
0
votes
1answer
41 views

Validation rule on Picklist value on Global Action

I have created a Global Action 'Log a Call Custom' Here on the Task object I have a Picklist field Subject with four values - 'Please Select 'Option 1' 'Option 2' 'Option 3' The default is 'Please ...
0
votes
0answers
20 views

How to create a third level picklist based on first two piclist values, and limit items based on selections

I want to create a picklist which and populate items in it based on the first two picklist. The first picklist 'A' is a standard 'Type' having items aa ab ac ad The second picklist 'B' is a custom ...
3
votes
1answer
56 views

lightning-record-edit-form: display text field as a custom picklist?

I've created a custom object where the user manually enters a locale value (ex: en_US, es). Instead of letting the user manually enter a locale, I'd like to provide the user with a combo box of valid ...
1
vote
1answer
217 views

How do I create a Lightning web component that shows all the custom list views of an object?

I'm asked to create a web component that shows the records of a custom listview when selected from a picklist just like in object tab. It should also have all the filters that I initially gave when ...
0
votes
1answer
20 views

Setting picklist values - salesforce python api

I am using the salesforce API and struggling to figure out when (and how best?) to set picklist values for different fields. Here is a code example: from simple_salesforce import Salesforce, ...
0
votes
1answer
63 views

Text Field Not Formatted in Currency When Selecting Currency Symbol from Dropdown List

I've been repeatedly modifying a Salesforce LWC page which aims to format a text field into a currency format (with corresponding currency symbols, commas, and decimals). Displayed currency symbol ...
0
votes
1answer
32 views

Global Picklist Value Sets

I have a ObjA_custom_field__c on Object_A__c, ObjB_custom_field__c on Object_B__c. Both these are picklist fields, that have the same value and serve same purpose. Instead of remembering to add same ...
0
votes
0answers
43 views

Multi-Select Picklist Alternative

I am looking into the best alternative solution for data capturing and reporting. I am trying to avoid multi-select picklists. I want to capture at the Opportunity level: Field1__c (that contains): A,...
0
votes
1answer
33 views

invalid operator on multipicklist field

We have a custom object, Programs that has several multiselect picklists. One of these is called keywords. When I look in the field I see that the terms are separated by semicolons. I do this to ...
0
votes
0answers
10 views

Flow builder : Multichoice Picklist assignment not working

I'm trying to update a Contact record following a case creation. The idea is to update the contact record multichoice picklist "Mailing list" with the aircraft model related to the created ...
1
vote
0answers
26 views

Define picklist values as “selected” in Metadata

I deployed some picklist changes, I also made the change in the record type tag: <recordTypes> <fullName>FSLead</fullName> <active>true</active> <...
0
votes
0answers
17 views

Apex controller code to set a picklist value from onchange event of another picklist

I have a visualforce page which displays two picklists. The values for these two picklists are populated on page load from a custom object. I am able to successfully get these values on page load and ...
0
votes
1answer
31 views

CASE Formula Not Working: Assign Numerical Values to Picklist Values

The Requirement: When the user selects a value in a picklist field, a formula field should store a numerical value. The Problem: The formula I have written ALWAYS returns the value 0, regardless of ...
0
votes
0answers
14 views

The Picklist value is not getting defaulted in Salesforce Flow for Edit Functionality

I have a Salesforce Flow with 2 Screens.I have 3 picklist fields in the Screen 1 and when i come to Edit a record using the flow, i was able to prepopulate the data for the following field types (Text ...
0
votes
0answers
42 views

Lead Source standard field deployment issue

I have added couple of new values to Lead Source picklist field on Lead object which automatically reflects these new values in Lead Source field in Person Account object(have enabled Person Account ...
0
votes
1answer
44 views

Process Builder to Update formula field [closed]

I want to set a formula field to update when picklist value changes using process builder. How can I do so
0
votes
0answers
27 views

How to find out whether a specific picklist value was selected today?

I need to create a new custom object only when both of the following happen in the same day: Contact.Custom_field__c = 'myValue' (so this picklist value has been selected today) A Task of type Call ...
0
votes
3answers
41 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
21 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
27 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
56 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
83 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
71 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
265 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
38 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
20 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
26 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
17 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
44 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
26 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
17 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
25 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
41 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
15 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
118 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 ...

1
2 3 4 5
19