Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
25 views

more than 2 dependent pick-lists

I am aiming for creating a dependency among the following pick-lists: Continent Europe Asia Africa Country Spain Netherlands China Korea Morocco City Madrid Barcelona Rabat Casablanca Beijing Macau ...
0
votes
1answer
5 views

Unable to Edit TaskSubtype Picklist Values

I'm unable to add any picklist values to the Task field TaskSubtype. I actually can't even see the current values without looping through the describe results for TaskSubtype. I have no problem ...
0
votes
1answer
14 views

Issue with Updating Pick list Values through Metadata API in Apex Class

What I have done : Installed repository from GIT HUB In my Personal org https://githubsfdeploy.herokuapp.com/app/githubdeploy/financialforcedev/apex-mdapi Created a custom controller and method : ...
-1
votes
1answer
33 views

I want to make a picklist field required in lightning component

<div class="slds-form-element slds-form-element_edit slds-form-element_stacked slds-hint-parent"> <c:PicklistSelect objectName="Events__c" fieldName="CurrencyIsoCode" label="Currency" value="...
0
votes
1answer
17 views

How to retrieve picklist option values in heroku

I am trying to get and display the picklist option from salesforce, in heroku. Can anyone kindly let me know how I can achieve this. I am querying records from case. And I want to display the case ...
0
votes
0answers
23 views

Error: top picklist missing

I am using the flow builder to create a three level dependency among three Pick-lists; however, I am getting the following error message(check screenshot too): Error: top picklist missing I am ...
1
vote
1answer
44 views

Error when converting a Lead record

When converting a Lead record the following error message is displayed: System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST, bad value ...
0
votes
0answers
14 views

SFDX how to retrieve custom picklist with force CLI

when I push the source to my scratch org I get the following message "You must specify either picklist, globalPicklist, or valueSet." is there additional element to add into the package.XML for ...
0
votes
1answer
30 views

How to create a Purchase Order record in Salesforce using CreateAsync method in c#

I'm a newbie to salesforce and i want to create a custom Purchase Order record using CreateAsync method of Force.com Tool. I'm successfully able to create a record when i'm just passing the parameter ...
0
votes
0answers
28 views

Lightning picklist in table

I have a table for create expenses. The table shows 3columns (a picklist, a decimal, and a text). I create a ui:inputSelect for the picklist. The table load the values of picklist, and save the value, ...
0
votes
2answers
42 views

How to assign both (value, label) to picklist field in Unit Test class?

Added explanation: Since the Case.picklistField is constantly modified by other Org user (non-developer), so I want to avoid data dependency as much as I could. I have a case trigger method using ...
5
votes
1answer
33 views

sObject describe metadata showing duplicate picklist value entries

I'm doing some code generation based on the standard org sObject metadata. As part of that process I'm using the DescribeSObjectResult.fields.picklistValues PicklistEntry records to determine which ...
0
votes
1answer
24 views

if picklist label is queried using ToLabel() for an SObject, one cant save updates to this object if picklist is restricted

I followed the article below and got the picklist label-name instead of API name for an object. How to query 'Value' of a picklist rather than the 'API NAME', using SOQL? However ...
0
votes
1answer
25 views

want to create multiple Picklist in lightning and show all sobject in it

I am trying to create a multiple picklist on lightning page but i am not able to fetch sObject in multiple picklist. Here is my code :- Controller class:- global with sharing class AboutController{ ...
1
vote
1answer
16 views

Field Dependencies with Repeat Tag

I am new to the visualforce development. Right now i am going through developer guide. I am little confused about apex: repeat tag Dependent Picklist Considerations • You can mix controlling and ...
0
votes
1answer
19 views

How do I use a custom object as the source for a multi-select picklist

We have a custom object with a list of "Types" that can be associated with a Contact record. We also maintain a custom multi-select pick list field on Contacts with those types. A contact owner can ...
2
votes
1answer
36 views

How to set picklist value in URLFOR?

I'm trying to set a picklist value in URLFOR. I have a custom button and when the button is pressed the following javascript is executed: window.parent.open("{!URLFOR( $Action.Custom_Object__c.New,...
0
votes
2answers
47 views

Multi-Select Picklist in Apex

I retrieved a multi-selected picklist values and I received the values separated by comma as below. But I noticed another post with answer that selected multi values is separated by semicolon, how ...
0
votes
0answers
19 views

Use VisualEditor.DynamicPickList with blank valule

I have a component that uses VisualEditor.DynamicPickList to show active case types users can choose when configuring it on community layout. Works like magic but now I want to reset one of the ...
0
votes
1answer
24 views

Record type behavior not working on edit record layout

I have one question regarding Salesforce Record Type. I have two different user profile. Admin Manager I have created record type for both users in which I control the status field (Picklist Value). ...
0
votes
1answer
50 views

Validation rule get all picklist values

How can I get all picklist values in a validation rule? I'm looking for a suitable function but I cannot find any. What I need to achieve is that some string is among the picklist values. Please ...
0
votes
1answer
39 views

Search Value inside a picklist before inserting

I have objects that I need to fill from a web service that I get from some source. I wondering, If I want to check if a picklist value that transferred from this webservice is a valid value in the ...
0
votes
2answers
39 views

Form In Arabic Language With Picklist Values In Arabic As well

Hope all of you are doing good. I want to create a visualforce page (form) which will take input and submit in database but this should be in Arabic. Everything inside form should be in Arabic ...
0
votes
3answers
196 views

Update existing picklist values with a Global value set

I have a custom picklist with few values in Account object. This field is referring in apex classes and visualforce pages. I want replace its existing values with a global value set. When I edit the ...
2
votes
1answer
37 views

How to retrieve sObject picklist field value instead of API name using force:recordData

To get picklist's field value from sObject using SOQL I can use toLabel(FIELD_NAME). Is it possible to do the same with force:recordData component?
1
vote
1answer
22 views

Populate a picklist based on values in a custom object

Not sure if I am going about this right but I am trying to create a picklist whose values are all values for another custom object. Here is my setup. I have a custom object called Courses which ...
1
vote
1answer
22 views

Can't set a picklist default value when creating Person Account, because Person Account not visible

a bit long but I'm a bit stuck. I have Person Accounts enabled. I'd like to set a picklist default value when someone chooses to create a new Person Account. The picklist is not a controlling field ...
1
vote
1answer
141 views

Dynamic Multiselect Picklist Display Multiple Selections

I have a record that has a multiselect picklist field. I want to display on the VFP all of the different selections. When I load the page with the selectlist or selectcheckboxes, the values do not ...
0
votes
1answer
29 views

I am attempting to populate a picklist with the names of a custom object but my picklist isn't populating and I'm not sure why

I am going through the Lightning Framework Specialist Superbadge and am stuck with my names not populating into a lightning-select component. At this point I'm not sure how to troubleshoot further as ...
-1
votes
2answers
57 views

Picklist to Multi-Select Picklist [closed]

I have a picklist and a multi-select picklist field. The picklist values are same in both the fields. Whenever I chose a value in the picklist field and save the record, the picklist value should be ...
0
votes
2answers
53 views

ERROR = Error: Field Product__c is a picklist field. Picklist fields are only supported in certain functions

Getting the above error. Took the advice of using ISPICKVAL function in my formula (below). Product__c<>ISPICKVAL(Account.Product__c) Still returning the above error.
0
votes
1answer
35 views

Need to restrict the multiselect picklist

I have AccountContactRelation and role is the multiselect picklist field. Based on Type i need to show or allow users to select picklist values. EX: Role values:-P1,P2,P3,P4,P5 If type="Active" User ...
0
votes
1answer
16 views

How to use custom Setting values as a picklist in the VF page!

Scenario : As per the business requirement there will be a Picklist values in the VF page from which user can transform the Whole page in his preferred language. Please let me know if we can handle ...
7
votes
1answer
189 views

Metadata API error while reading Picklist: Web service callout failed: Unable to find apex schema info

I am trying to read a custom dependent picklist field and update it's field-dependencies. I have followed the common resources found online and getting the below error: FATAL_ERROR System....
2
votes
1answer
164 views

Fetch dependent picklist values depending on record type

I have a two picklists PL1 and PL2. PL1 is controlling picklist and PL2 is dependent picklist. I want to fetch values of PL1 in Apex depending on recordTypes in Apex method, which I already have ...
-3
votes
1answer
28 views

Restricted picklist value is throwing an error on creation of Case record from apex class

My case object has a custom picklist which has around 20 values. However the Labels and API names are different for each of the values. Also restrict picklist value checkbox is checked for the ...
2
votes
1answer
113 views

RecordTypes, Dependant Picklist values within Lightning Components

We have built a Lightning Component for displaying OrderLines__c (custom object). Since we need to utilize picklist values we could not use the lightning:datatable. I found a great guide on sfdcmonkey....
0
votes
1answer
101 views

How to get multi-select picklist values to display on line indents on visualforce page?

So I have a multi-select picklist with 4 possible values on it. I would like to have them displayed on the custom visual force page I am making on line indents (li) rather than seperated with a ...
0
votes
1answer
25 views

Summary from 5 pick lists

I have 5 pick lists, each pick list is a review and i need to have an average rating from all the selected pick list values. The pick list values have strings and i need to give average rating as ...
0
votes
1answer
19 views

Visualforce version affecting picklist values

I have a pick list and the default values are not same when I changed between a very old version land the latest version. How is version related to what's displayed in pick list. All other settings ...
1
vote
1answer
25 views

How to autocompile a picklist?

I would like to know if it's possible to autocompile a picklist field with a value of different picklist on others object. In this case, I created a picklist with a name: Campo Prova Picklist ...
0
votes
1answer
207 views

Lightning Component : ui:inputSelectOption : When Default value is set dynamically, user can't change Picklist value

I am working on a Multi-Location Case creation component for our community site. The basic premise is that we use Account Contact Relationships to relate a single User/Contact to multiple accounts. ...
2
votes
1answer
122 views

Does Path support editing of dependent picklist field?

I've added a dependent picklist field to Path's key fields. However, it displays only the current value and --None--. Sub-Stage field when edited in the path: Sub-stage field when edited from ...
0
votes
2answers
105 views

Updating 'multi select pick list' field, on many contacts, with different values

My situation is this: I have a custom object that has two custom text fields I need. Name of a list and client Id. Each client Id can be a part of more than one list. I then need to take this ...
0
votes
1answer
43 views

Reporting on multi-select pick list or make custom object perhaps?

We're looking to keep track of what hospital departments we're selling into. Should seem simple enough, except for the fact that sometimes sales folks will of course sell our product into multiple ...
0
votes
0answers
13 views

Can we keep color code the same across the dashboard?

We use data.com clean dashboard to track our data integrity. One issue that is disturbing is that values, for the same field, are colored differently across the dashbaord. The field, is the ...
0
votes
2answers
48 views

Default picklist value for opportunity

After winter 19 release, default picklist value is changed from --NONE-- option to next first picklist value. I would like to reset it to --NONE-- value. can you please let me know that workaround. ...
1
vote
1answer
522 views

Formula Field - Case Function

Am trying to build a formula field with multiple IF conditions, so decided to go with Case function, below is the return statement based on the picklist value 0 Member 2 Member 3 Member 22 Only a ...
1
vote
0answers
60 views

Issues with Case Business Process Picklist values while using Ant

Were doing a first time deploy of code to a QA box and for some reason I keep getting errors about Picklist values not present. I can see them in the Case object under the BusinessProcess section, ...
0
votes
0answers
34 views

How do I set the Default Size & Layout of a MultiPicklist on my VisualForce Page?

I'm wondering how I go about changing the style of my Multi-Picklist? I would Like it expanded by default without the scroll bars. So its showing all the options. This is how it looks when I open the ...