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
2answers
42 views

The ShippingStateCode field contains 21, which is not an available state

I changed some integration values from the country / state pick list: When I try to insert a record by integration, I get the error: "The ShippingStateCode field contains 21, which is not an ...
0
votes
0answers
25 views

Choose what set of values a picklist draws from based on another picklist

here's our situation: We want to associate an Account with multiple counties throughout the US (and these counties could come from multiple states) Ideally we'd have one giant multi-select picklist ...
0
votes
1answer
42 views

(Sobject) '{!Record.Field__c}' is a picklist field.'Test' is an invalid field value

Recently I have added a new value for a global value set that is being used in a picklist field for an sobject. The field is required, restricted, and has the new added value as the first and default. ...
0
votes
0answers
15 views

Dependent picklist Inclusion/Exclusion values metadata deploy not updating

I have two custom fields (both picklists) one is controller the other. I have made some changes to the included/excluded values in one sandbox, and am attempting to deploy it to another. When I pull ...
0
votes
0answers
23 views

Multi-select picklist (field not available for formula in reports of standard object)

I would like to build a row-level formula with a multipicklist in a report of a standard object. But I can't even find/select the multi-select picklist field. Same issue with multi-picklist field of a ...
0
votes
0answers
23 views

How to get available pick list values per RecordType using the REST API

I am currently investigating what is the best way to get the list of available picklist and global picklist values per RecordType from the Lightning Platform REST API (https://developer.salesforce.com/...
0
votes
1answer
28 views

Validation For Picklist [closed]

I have picklist Name Status__c and values are Active, Canceled, Closed And other filed is Amount__c. My requirement is when I choose Canceled or Closed values from Picklist the Amount filed should not ...
0
votes
1answer
35 views

Multi-select picklist issue

I would like to build a row-level formula with a multipicklist in a report. But I can't even find/select the multi-select picklist field. When I copy the Api Name of the multi-select picklist field ...
1
vote
1answer
34 views

Retrieve Globalvalueset without Object_API_Name and Field_API_Name

We used to retrieve Picklist values in Apex through and object and a field like this : Schema.DescribeFieldResult F = <Object_API_Name>.<Field_API_Name>.getDescribe(); Schema.sObjectField ...
2
votes
2answers
130 views

How to deploy picklist field whose value set was changed from local to global?

I'm unable to deploy a picklist field that was promoted to a global value set to my production environment. The global value set, and the new field in another object that uses it are both OK, but when ...
0
votes
1answer
33 views

How Add new value in a Custom Picklist with APEX

I am writing an apex method where I have to add picklist value dynamically with apex code. I have followed many websites but not able to get this. Please check my code below. public with sharing class ...
2
votes
1answer
35 views

onchange event does not trigger on Multiselect picklist in LWC

Goal is: Based on Multiselect Picklist value selection/deselection, I want to hide/show certain text area fields on my LWC form. Below is my LWC: HTML: <template> <lightning-record-edit-...
1
vote
0answers
24 views

Can we programmatically determine Custom Metadata Type picklist values?

I would like to create a Custom Metadata Type picklist, and I want the values of the picklist to programmatically display the names of user Roles in the org. So if someone adds a new user Role, the ...
0
votes
1answer
36 views

Salesforce Picklist value to hide --None— in lightning version

Salesforce Picklist value to hide --None-- in lightning version: For the same issue, there is a solution that making the field as mandatory on the pagelayout and defaulting any one picklist value will ...
0
votes
0answers
24 views

Using Includes in a Function to show block if included in a Picklist [duplicate]

I'm intending the following: • If the system_picks field includes the text "Medication Dispenser", make the div with the id "ifYesMed" visible. • Otherwise, hide the div "...
0
votes
1answer
24 views

How to bind data in custom picklist field in LWC

can anyone help me what I need to change to bind the data to a custom picklist. My component is called in a quick action and pass the record Id and get the lead details and show it on the page. ...
0
votes
1answer
25 views

Values not getting populated in custom picklist

I have created a custom lightning page using Lightning web components, having a custom picklist in it, and I am trying to populate the values in the custom picklist on the click of the custom lookup ...
0
votes
1answer
81 views

DEBUG|Insert failed. First exception on row 0; first error: INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST, bad value for restricted picklist field

I have a record type picklist on Case object. When I create case via email-to-case that works fine without any issue(I have some APEX code related to that) Issue: The problem is when I write test ...
2
votes
2answers
110 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
36 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
29 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
34 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
37 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
96 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
30 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
34 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
31 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
40 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
66 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
155 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
631 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
29 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
89 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
36 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
75 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
69 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
11 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
20 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
38 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
15 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
43 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
77 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
30 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
44 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
22 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
31 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 ...

1
2 3 4 5
19