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

How to save a selected item from a picklist, a date to the same object, then the selected date and item should not be available, all in in LWC/Apex?

I'm trying to create a Salesfroce lightning reservation app. In that app the selected User can select an item ('desk') from a picklist, then pick a date from a datepicker. When a user clicks on the ...
  • 1
0 votes
1 answer
33 views

Cannot retrieve record type using metadata service

Hello I am trying to retrieve a record type to update its picklist values but whenever i try to do this it returns a weird object which has most of its values as null and I tried to use a name of a ...
-1 votes
1 answer
19 views

Parameter Error, " Error: Incorrect number of parameters for function 'ISPICKVAL()'. Expected 2, received 1 Validation Rules

I created a validation rule, however, one field is giving me an error: Error: Incorrect number of parameters for function 'ISPICKVAL()'. Expected 2, received 1. Here is the original validation rule: ...
0 votes
0 answers
26 views

Tooling API not returning custom picklist field [duplicate]

Hello I am facing a problem concerning the tooling API , I am trying to fetch the picklist values of a record type but when using this api /services/data/v41.0/tooling/sobjects/RecordType/...
-1 votes
1 answer
18 views

How to add popovers on dueling picklist in LWC?

I need to add popovers to dueling picklist, but I am not able to find any examples online.
  • 37
0 votes
0 answers
32 views

Picklist field is moving when using scroll bar LWC Datatable

Click on the pen Choose value Use scroll bar to go down The whole field with values is moving down, it is not on the row. How can I set it in CSS? or maybe HTML? lWCDatatableWithPicklist.css ....
0 votes
0 answers
24 views

Missing Picklist values in LWC Datatable

The whole component works perfect - only picklist field values are missing. Additionaly after clicking on a pen - the field is moved down. The values are not visible. Do you have any idea what I am ...
0 votes
0 answers
14 views

Update picklist using json

I'm trying to update the values of various picklist as well as their dependencies. I'm receiving an xml with the info of the dependencies between my picklists. I'm trying to update the values and the ...
  • 1
0 votes
0 answers
20 views

update name of record of dependent list fail

i'm trying to save a record of a flow with a meaningful name that derives from dependent picklist. i have created a screen flow, and a formula which contains {!roof_Utility.middlePicklistApiName}"...
  • 1
0 votes
0 answers
34 views

Update picklist value in custom lightning datatable

With this code I need to update the field 'Theme__c' his type is picklist in my lightning data-table , what I want is when I click for updating get the list of value for the field 'Theme__c' , I tried ...
0 votes
1 answer
34 views

Multi Select Picklist field VR

Is it possible to create a Validation rule or something on multi select picklist field so that the user can select maximum of 3 and minimum of 1 values out of 10.
0 votes
0 answers
27 views

Picklist combobox error

I am trying to use a picklist field for my Combobox and I am running into trouble the Combobox doesn't appear in my app. here is my HTML: <template for:each ={make.data.value} for:item = "...
  • 1
0 votes
1 answer
33 views

Filter do not work. What is wrong with my code?

VF page: <apex:page standardController="Position__c" extensions="PositionsForJobApplications" recordSetVar="lineitems" lightningStylesheets="true"> &...
0 votes
1 answer
42 views

How do I derive percentage value from multiple picklist fields

I have multiple picklists that have three possible values namely "Yes", "No" and "NA". For every "Yes" value, a score of 1 will be assigned while for every &...
0 votes
0 answers
31 views

Picklist values for record type using tooling API [duplicate]

I am adding new values to a global picklist and need to activate them for a custom picklist field of a custom object with the ui-API, using /services/data/v51.0/ui-api/object-info/{objectAPIName}/...
0 votes
1 answer
31 views

Validation rule for when the Status picklist value of "Assign to Development" a picklist value for "Development Type" must be selected. Please help

AND( ISPICKVAL(Status, "Assign to Development"), OR( ISBLANK(Development_Type__c) ) ) Error: Field Development_Type__c is a picklist field. Picklist fields are only supported in certain ...
  • 1
0 votes
1 answer
41 views

How to populate a Lookup fied according to a picklist [closed]

I have a Locations custom field = Lookup(Locations) which should be auto populated according to the value of the custom picklist field (Intial_Location). Example: Initial_Location__c = France ...
0 votes
0 answers
40 views

Update global value set via API [duplicate]

I'm trying to do POST via apex code to update a globalValueSet for a picklist usin a json as the request body. The issue is that i keep getting this error message: "message":"Cannot ...
  • 1
0 votes
0 answers
41 views

How to automate picklist filter changes on reports when picklist values are renamed or replaced?

We are replacing some picklist values. It appears Salesforce will update the API name of the old picklist value with the replacement picklist API name most everywhere except reports. We have more than ...
0 votes
0 answers
54 views

HTTP Method 'POST' not allowed

I'm getting two different errors in salesforce workbench when trying to do POST and PATCH. I'm trying to update a picklist using a json as request body. When we do POST, I get this error message: HTTP ...
  • 1
-1 votes
1 answer
56 views

How to use default 'None' value from the picklist in If condition?

I have a field Score on an object and it's data type is picklist having values with the dafault value None.The values are None Unknown 1 0 -1 so in a class there is a condition ...
  • 3
0 votes
0 answers
27 views

Populate Picklist/Choice with SimpleSalesforce

I'm using the SimpleSalesforce API to query and filter records to a dictionary which I can also put in a dataframe using Pandas. I am trying to use this information to create some sort of picklist or ...
1 vote
1 answer
59 views

Can the default value of a managed package global value set be changed in the subscriber org?

We have a custom Global Value Set (AKA Picklist Value Set) for countries that will be in a managed package and it would be great if the default value could be changed after the package installation. (...
  • 131k
0 votes
1 answer
42 views

Rolling up Primary Contact Picklist Value to text on Account

I'm attempting to solve what I think is a fairly simple problem. We are using NPSP, and track our board members on the Contact level. For some complex reporting reasons, I need a way to simply display ...
1 vote
0 answers
118 views

Flow - Update picklist with label value, not API name

I have a flow that is comparing the value of a text field (BillingCountry) to a picklist (Billing_Country_Name__C). If the text input is a valid Country picklist value, the flow should update the ...
  • 11
0 votes
2 answers
119 views

Is there a way I could make sure a picklist value can only be changed to the next value?

Suppose I have a picklist field with the values: a,b,c These values represent stages of a record. Is there a way I could make sure the field is upgraded only 1 value at a time without having to ...
  • 15
1 vote
0 answers
341 views

How to save picklist value in custom lightning datatable?

I have just started working with Lightning Web Components, and I am attempting to add picklist functionality to my datatable. My standard cell edits/saves are working as intended, but I am unable to ...
  • 11
0 votes
0 answers
62 views

error restricted picklist when insert picklist value using workbench/dataloader

i tried to insert data using workbench, there is picklist with API NAME [Loss Deal], the previous developers make the API Name with space between two words. so, when i tried insert data using ...
0 votes
2 answers
209 views

Is it possible to change an existing Order Status picklist value's Status Category?

Can I change Test Status' Status Category from Draft to Activated or vice versa?
  • 33
0 votes
0 answers
25 views

NullPointerException while trying to update picklist using Metadata Api

Trying to update a picklist value in the status field of Lead object using Metadata Api. Running into NullPointerException. Here is the code used to update picklist Value. String picklistapiname = '...
0 votes
0 answers
48 views

Disable visual flow Next button based on default picklist selection like "Choose One"/"Select One"?

I'm working on a public New Member application Flow that will be exposed on our website, no authentication required. The Flow is in a Visualforce page that I've updated from Classic to Lightning UX. ...
0 votes
0 answers
282 views

How To Update a Picklist Field From an Assignment Variable in a Flow?

I've been struggling to update a picklist field in a record update in a flow and on running the solution past a few other developers today they were unsure what was blocking the update also. In a ...
0 votes
1 answer
72 views

Contact Tab List View Does Not Show for Some Users when a Picklist is Added

I have a Contact Tab List View, and when I add a picklist or multi-select picklist to the view, I get an error. Here is what the list view looks like before I add a picklist: Once I add the picklist, ...
0 votes
1 answer
140 views

Displaying different currency amounts

I have enabled our multiple currency feature in order to update multiple currency rate values. We want to give a user the ability to view a field's value in another field in which they decide the ...
  • 3,760
0 votes
1 answer
66 views

Cannot select a value from a (related) picklist

I have created a dependent picklist on the Case object. However, on the layout, I am not able to select any of the picklist values (see attached image). Both fields have read/write permissions for the ...
0 votes
1 answer
554 views

How to reset child combo box values on button click in parent LWC

I have Parent component LWC where I am displaying account records in html table and having filters for picklist where I have used combo box(Util combo box) . When I select the values in picklist it ...
0 votes
1 answer
150 views

How to get Picklist/date values to be actual picklist/date values in datatable columns?

Hello everyone and thanks for reading! I'm having this problem and couldn´t find an answer anywhere. I've created this datatable but I have some values that are showing different from what I expected: ...
0 votes
1 answer
542 views

12 Dependent Picklists in Screen Flow

I'm creating a screen flow with a complex set of dependent picklists. I'm trying to figure out how to display them all, but the Dependent Picklist component is very limited. The standard component can ...
0 votes
0 answers
457 views

LWC lightning-input-field and global picklist issues

So i have a LWC component it's very simple There's a form with this field <lightning-input-field field-name="States__c"> </lightning-input-field> It's a picklist fields who's ...
  • 484
0 votes
1 answer
391 views

Picklist value in picklist not found

I am trying to deploy picklist value Pupils and Students from Development to Integration environment but end up getting below error: [RecordType Account.GL_Indirect_Account] Picklist value: Pupils ...
0 votes
1 answer
431 views

Field dependencies/Dependent picklist

Hii wondering if this is possible. Can I have a value default in a dependent pick list based on the controlling field selection (I only have 1 value in the dependent field). So can this be defaulted ...
0 votes
1 answer
602 views

Show/hide picklist values based on other field

I have a requirement where I need to show/hide the picklist values in the lightning component where I am using the lightning path to show picklist values and based on the other picklist field value I ...
0 votes
1 answer
420 views

How to store key-value pairs in Salesforce

In the current system we have key value pairs which are stored in what are called as code tables. There are quite a lot of code tables. Each has 2 fields one for abbreviation and one for value. For ...
  • 13
0 votes
1 answer
34 views

Can I change the maximum number of dependencies in a picklist?

I hope you are well, I have the following problem. In a picklist with 347 values I need to add its dependencies from another picklist. The problem is that it has more than 300 item and Salesforce does ...
0 votes
1 answer
178 views

Access to option data in lightning combobox?

Given this code: HTML : <lightning-combobox name='Test' label='Testing' placeholder={serviceReopenTest} options={serviceOption} onchange={handleServiceChange} value={idServiceOption} ...
  • 185
3 votes
1 answer
362 views

Create custom field type picklist via tooling rest api - which meta information required?

I want to create a new custom field on a custom object on SalesForce. The custom field type shall be of type 'picklist' (non-global) with a predefined set of values. I want to use the Salesforce ...
  • 165
0 votes
1 answer
452 views

Updating controlling picklist through data loader or workbench does not respect field dependency

I have field dependency defined for two picklist field Controlling picklist: field 1 which has picklist Value 1,2 Dependent picklist: field 2 which has picklist Value 3,4 Field dependency 1->3 and ...
  • 1
0 votes
0 answers
30 views

SOQL - Getting Controlling Picklist and Dependent Picklist Values [duplicate]

I am trying to accomplish the following: Picklist_A__c has around 50 values. Picklist_B__c is controlled by Picklist_A__c and has hundreds of values. Is there a way in SOQL to derive which values ...
0 votes
0 answers
33 views

Hide picklist field on Task Object

Can you give me an idea on how to hide a picklist field upon creation of a new Task and then show it that picklist after successfully creating a New Task. Thanks.
0 votes
2 answers
462 views

Cannot retrive picklist values in LWC ERROR: Error during LWC component connect phase: [Cannot read properties of undefined (reading 'values')]

// Object = Free_Budget__c // Picklist = Reason__c import { getPicklistValues, getObjectInfo } from 'lightning/uiObjectInfoApi'; import Reason from '@salesforce/schema/Free_Budget__c.Reason__c'; ...

1
2 3 4 5
21