We’re rewarding the question askers & reputations are being recalculated! Read more.

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

CountryCode and statecode field of user object doesnt display as picklist(shows text) on VF page

I want to user standard picklist fields country and state on of user object in VF page i want them to be displayed as picklist. i saw many solutions stating to : use countrycode instead of country ...
0
votes
2answers
19 views

How to replace the pick list values in existing records for a particular record type

I have a picklist field 'Priority' on the Account object with the values 'A+, A, B+, B, C+' and also I have the record types 'Test, Test1, Test2' on the Account object. I have around 1M records in ...
-1
votes
0answers
29 views

How to go about creating a Repeating Dropdown Picklist? [on hold]

So I've been tackling this problem where I need to create a dropdown picklist that once selected you click an add button and it renders a new dropdown picklist without the previous selected value ...
0
votes
1answer
24 views

getPicklistValues function in LWC - Community without login

The Lightning Web Component(LWC) has few <lighnting-combobox> fields the values for those picklist values are retrieved via @Wire-getPicklistValues() functionality. Upon viewing the component ...
2
votes
2answers
58 views

How to create a reusable picklist component

I have created a lightning web component which is a pick-list. My intention is to pass objectApiName and fieldApiName as parameters and then render UI accordingly. So that I can reuse this component ...
0
votes
1answer
24 views

Get picklist metadata/values via API Rest without custom webservice

I'm trying to retrieve metadata values from two picklists of same object without coding a custom webservice and without differentiate by RecordType in a single rest query: For instance: Object: ...
1
vote
1answer
47 views

Retrieve Standard Picklist Value Sets using package.xml

There are standard picklist fields like Premium Frequency on Insurance Policy object in Financial Services Cloud package. We have added some new picklist values for this field. However, we are not ...
1
vote
0answers
15 views

Metadata Translation API: REST Request URL [duplicate]

I am trying to retrieve the translation for a custom picklist values , using REST I think i need to retrieve CustomObjectTranslation : https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/...
0
votes
2answers
34 views

Validation Rule with multiple picklist fields

I need to create a validation rule that fires where when either "Complete" or "Closed" is chosen from a picklist, another picklist becomes a required field. I have tried multiple options, but have not ...
0
votes
2answers
36 views

Lightning Component - Picklist Field with Ability to write free text

I need to override standard Create and Edit Actions on Account object with Lightning Component. Is there a way or a type of field that we could cover the following requirement? Have a field with some ...
0
votes
0answers
29 views

how to get picklist value in Rest API

I am new in salesforce, I want know how to get the custom picklist value from REST API, I get the all the picklist from below API $this->instance_url//services/data/v38.0/sobjects/Opportunity/...
0
votes
1answer
12 views

Make picklist value setable on creation or by admin only

I have a picklist of stages - let's use the example stages below: Unqualified <- Default / Record creation state Qualified Enrolled Under Review Active Where as this record progresses through the ...
-1
votes
1answer
29 views

unable to get dynamic picklist values in lightning:select [closed]

I'm writing a lightning component that create rows dynamically and there a field to display picklist values in it. Currently my issue is that, though the values are getting fetched as expected, I'm ...
0
votes
0answers
16 views

Populate picklist values based on valueset defined in child object

We are struggling with the following new business request: We are using the standard objects Opportunity and Product. Now there is the clear request to define possible market segments for each ...
0
votes
1answer
33 views

CloudPage Picklist Values from Data Extension using ampScript

I am experimenting with having a "Preferred Channel" picklist field on a Custom Preference Center Page hosted on CloudPages and would like to restrict field values to a specific subset of picklist ...
0
votes
0answers
8 views

Enabling all picklist values for a profile without giving any additional permissions like editing field names,data types

I would like to enable all the picklist values in salesforce for a profile without giving any additional permissions like editing field name,data types etc.Is there any customized app to do the above?...
3
votes
1answer
46 views

DX standard pick-list values in unlocked package

We have certain parts of our org metadata that we can't put in an unlocked package because they are dependent on standard pick-list values (i.e. opportunity stage). Is there a way to put standard ...
2
votes
0answers
69 views

Populate Record Choice Set from a Record Collection Variable

I am creating a lightning flow & trying to create an input with dynamic choices. On the basis of some decisions I am using get Records with different filter criteria to get records & using ...
1
vote
0answers
28 views

Picklist Value during Data Import

i came across this section in the Salesforce Documentation: If you import a picklist value that doesn’t match an existing picklist value: For an unrestricted picklist, the Data Import Wizard uses ...
0
votes
0answers
19 views

Metadataservice: Delete only Record Type dependency of picklist

I have a requirement to delete only Record type dependency of a picklist value. Suppose, for R1 record type A,B,C were values accessible of A__c custom field. Now I need to delete A from values under ...
0
votes
0answers
57 views

How to filter related contacts list based on account selection from dropdown?

I'm trying to display related contacts list in dropdown based on particular account selected from account dropdown. I can able to display all accounts in dropdown but after selecting an acount how to ...
0
votes
0answers
24 views

How to decode dependant picklist 'validFor' base64 string in swift iOS [duplicate]

How can I decode the 'validFor' data to get back an option in controlling picklist. for example Controlling_Field__c Fruits, Vegetables Dependent_Field__c (Fruits): Apple, Banana, Orange (...
0
votes
0answers
18 views

Best practice for controlling record access based on User's Country

The requirement: All Users in South Africa should only be able to edit Accounts (parent) where Country = "South Africa". They should also be able to edit all Projects (child) and Project Roles (...
0
votes
0answers
9 views

How to automatically add fields to field set and in picklist?

How can you automatically add newly created field of particular data type in the field set and create a new picklist value with its field label?
0
votes
2answers
26 views

Get Picklist Value from Custom Settings in vf page controller

I am trying to fetch the pick list value from custom settings, i am getting Unknown property 'TestList' Error is in expression '{!CTest List}' in component in page this is my method for pick list ...
1
vote
1answer
37 views

Cross object picklist validation rule

This does not seem to be working. Checking the syntax does not give me an error. As I can successfully query for the values inside the quotes (i.e., Member, Voting Member), these values are valid. ...
-2
votes
1answer
23 views

How to call VF page from Lightning component picklist?

Here is my scenario, I have created a lightning component with pick-list values. I have pick-list values as Preview of Record,download Record. When i select Download Record, i want to down the record ...
0
votes
1answer
101 views

How to get selected pick list values with Apex for Aura Component

I have established a custom field called "Products Used" on the account object with a variety of banking products to choose from. I am trying to program an Apex controller to query the selected ...
0
votes
2answers
169 views

Pick List values added dynamically in Java Script are not reflecting in Lightning:combobox LWC

I am trying to pass a list of pick list values dynamically to lightning-combobox , but the values are not rendering in the list. Below is the sample code i am writing. JS Code: @track EmpList= [{ ...
1
vote
1answer
286 views

Option to select none in picklist fields lightning-combobox - LWC

Using lightning-combobox i am able to display required picklist values but trying to achieve below two options. Allowing users to unselect back to none from the selected value As of now if user ...
1
vote
1answer
30 views

Opportunity record on creation defaults to deleted stage value

I deactivated couple of stages from the Stage field on my Opportunity object and replaced them with new ones. However when I create an opportunity record, the Stage picklist defaults to an old stage ...
0
votes
1answer
135 views

Searchable pick-list in Lightning Component? [closed]

I am trying to implement the searchable pick-list in lightning component. I followed this post to implement with help of external jQuery select2. But It's not working as expected the search result and ...
0
votes
1answer
18 views

How can I make my <account> variable filterType equal to the first account returned in a StandardSetController Query?

how would this work with a dynamic search page I have a visual force search page and I have used the stadardsetcontroller for pagination. The initial query during page load is working for me. ...
0
votes
1answer
84 views

Lightning:dualListbox Style Not Working As Expected

When I create a dualListbox on a lightning component I am unable to see the values. When I inspect I can see that the values are there. It almost looks like the color is set to white or transparent. ...
1
vote
1answer
57 views

How to identify in Apex what picklist fields are restricted

I wish to apply logic if a picklist field is a restricted picklist. Let's say I have a restricted picklist field called 'County__c'. I can see that there are a number of methods available in the ...
1
vote
1answer
563 views

Lightning Datatable Picklist and Lookup Work Around

I am aware that lightning:datatable does not support picklists. The approved attributes are: action boolean button button-icon currency date date-local email location number percent phone ...
1
vote
0answers
26 views

Lookup field visibility based on picklist value is not working

I am trying to display a lookup field based on the value of a picklist. If the value 'Other' is chosen on the picklist, the showOtherAddress is set to true and then the rerender triggered by the ...
0
votes
1answer
105 views

How to write a test for a VisualEditor.DynamicPickList class?

I have this DynamicPickList class that creates picklist values based on what lookups have been put on the Contact object. It is used in the targetConfigs of a LWC. How do I write a test for this class?...
1
vote
0answers
16 views

the order rule of multiple picklist values from SOQL

What is the order rule of multiple picklist values? When I try to SELECT global multiple picklist values by SOQL which is used in custom object, the order of multiple values is not same as the order ...
1
vote
1answer
42 views

Rerendering based on a picklist loses the value of that picklist

I have a page that is trying to re-render a certain area of the page when a picklist (ndaDetails.NDA_Type__c) is changed. The picklist itself is a part of the pageBlockSection that is supposed to be ...
2
votes
1answer
196 views

New Picklist Values added via Metadata API stay inactive

I am using the Metadata API wrapper from https://github.com/financialforcedev/apex-mdapi to dynamically add picklist values to an existing field. @Future(Callout=true) private static void ...
0
votes
0answers
28 views

Create dynamic picklist in Flow Builder from Text

The requirement goes like this: There is a MultiPicklist Field A on the Account (options -> A;B;C;D;E) and a Single Picklist Field B (options -> A;B;C;D;E) on Case. When the user updates the case, ...
0
votes
0answers
55 views

How to tally a picklist value in Report Formula Builder?

We have a proprietary survey for closed cases where a customer clicks a button and it updates a field on the Case object called One Click Survey. There are four options: "Excellent", "Great", "Ok", ...
0
votes
1answer
46 views

lightning data service : picklist field not showing

Is picklist not supported in lightning data service when using with lightning:input <lightning:input type="text" label="Description" value="{!v.simpleRecord.Description__c}" /> I need to use ...
1
vote
1answer
49 views

multiPicklist query

I have a few global picklists which I using for multi picklists. I'm trying to retrieve a data via SOQL but something goes wrong - not all the rows are back or sometimes none of them. It depends if I ...
0
votes
1answer
23 views

separation characters between picklists value - Set

I have 6 multi picklists. I pushed all the selected values into Set For Example: Picklist A: Cherry Apple Picklist B: Apricots Avocado Picklist C: Banana Blackberries Blackcurrant ...
0
votes
0answers
28 views

Visualforce dropdown rendering invisible values

I have a Visualforce page using Lightning stylesheets with reRender attributes on the time selectList. For some odd reason, some users are experiencing intermittent issues with the picklists ...
8
votes
0answers
72 views

Is there a way to automate the deployment of changed picklist values in a pipeline using SalesforceDX?

Sometimes we need to change the label or, more commonly, a value for a picklist item. Suppose we do change the fullName attribute of a picklist field, to match an external system that will integrate ...
0
votes
0answers
216 views

How to access global picklist value set in apex code [duplicate]

I want retrieve Global picklist Value Set and assigned them into a drop down box using apex. How could I resolve this?
0
votes
0answers
33 views

Can i create Dependent picklist in flow where controlling picklist is “Screen component Picklist made with choice resource type”?

I have created flow screen, and created 1 picklist from screen component and added choice resources as picklist values. Can I create dependant picklist for above picklist? eg. Screen have picklist ...