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
1answer
35 views

New Picklist value not showing only in lightning component

I added a new value to an existing picklist (not dependent field). I added it to the record type and I see it in the record layout. BUT I can't see it in a custom lightning component which displays ...
1
vote
1answer
25 views

Screen Flow Picklist from Lightning Component

I would like to display a Picklist or Radio Button component inside a Visual Flow Screen with choices given by a List of values. I have to pass these values to the Flow from within a Lightning ...
0
votes
1answer
28 views

How update record picklist field from a variable in a flow?

I'm trying to found a solution for this one. I've a flow in place that creates or updates a record based on some criteria. On record creation or update, I'm assigning a value to a picklist field. ...
0
votes
2answers
24 views

Want to write trigger on object to update the picklist field

Class : MonsterPositionClass Field : Experience__c Field : Position__c (picklist )> ( values:'Jr Engineer', 'Team Lead') Condition : if(Experience__c >= 7 ) then Team Lead should be shown my ...
0
votes
2answers
17 views

Automatic Date Stamp on a Stage Change

I want to add an automatic date stamp when an opportunity moves from Stage 1 to any other Stage that isn't closed.
0
votes
1answer
18 views

How to dynamically set multiple choices to a picklist of a Flow Screen using a resource of type 'Choice'

Is there any way of dynamically setting multiple choices to a picklist of a Flow Screen using a resource of type Choice? It seems a collection variable of type Choice cannot be created nor can it be ...
0
votes
1answer
23 views

Flow Builder How to populate the Picklist Component default value for a Screen Element

How to populate a default Picklist Component value for a Screen? For instance, when I do a text input box I can provide a merge field into the default value box. When I click on the default value box ...
0
votes
0answers
15 views

How to delete (not inactivate) picklist value from metadata api wrapper

I have installed the metadata api wrapper by financialforce : https://github.com/financialforcedev/apex-mdapi Then I added some modifications into the CustomValue class in the MetadataService Apex ...
0
votes
1answer
24 views

How to set picklist options in a flow's UI using values retrieved from a callout

I would like to make a callout using Apex and use the return data to set the options in a picklist screen component of a flow. Is this possible and if yes, how should I go about it (I believe I need ...
2
votes
1answer
38 views

Change picklist field with another picklist field in a formula throws 'Compiled formula is too big to execute'

I have a simple formula that is referenced in other formula. When I tries to change a pickist field with another picklist field I can't save with the following message: Formula(s) that reference ...
0
votes
0answers
27 views

Change Set Successfully deployed, no changes

I had made some changes to the picklist values on the "Event" object (which is tied to a global action), and other minor changes. The changes have successfully deployed to the production from the ...
1
vote
1answer
86 views

How to reference Choice Value in formula instead of its label?

I have a Picklist screen component in a Flow which has many choices defined in the same flow: Now I need to make a formula that references the Choice Value of a given choice: If I use UPPER({!Plan} +...
2
votes
2answers
89 views

Public set of strings to use in the entire code?

I have a picklist field called Meeting Type that's being used in multiple classes. Whenever someone wants to change the value of the picklist, i have to search for all instances of that value in the ...
0
votes
0answers
16 views

Adding a restricted picklist value from another field when it is blank

I have the following code where I am checking restricted picklist values bell__c and nextbell__c I want to check if bell__c picklist value is null , I want to add nextbell__c picklist values to ...
0
votes
1answer
36 views

Formula to update multi-picklist with Process Builder

I've created a process to update a multi-picklist (Cloud Name) based on some words contained in a text field (Title) - it works but due to the pick values I am getting false positive. if(Contains([...
-1
votes
0answers
30 views

How to stop counting days using a formula, when a pickist is changed

I have a Picklist called 'status' it has values Tier 1, Tier 2, Tier 3. I have created three fields (Days in Tier1, Days in Tier2, Days in Tier3) to count no of days in each Tier. These fields should ...
2
votes
1answer
41 views

The flow failed to access the value for myVariable_current.Account.Owner.UserRole.DeveloperName because it hasn't been set or assigned

I am getting these two process builder error's Error element myDecision (FlowDecision). The flow failed to access the value for myVariable_current.Account.Owner.UserRole.DeveloperName because ...
2
votes
0answers
32 views

How to get picklist values and translations using Aura and Apex?

Background: I was using a an aura lightning:recordEditForm containing a picklist field. This component will automatically detect user language and use the translations you have set for that field. ...
0
votes
1answer
39 views

How to populate a picklist with it's label value instead of API value from class

Have the following code which populates field Code__c where null List<Account> accounts = [ SELECT Id, Code__c ...
0
votes
1answer
30 views

Required fields under Record Types and Subcategory type [duplicate]

I need to make those fields required under 2 conditions. Record type and Subcategory (picklist). I stated doing Validation rules, for the first one: Record type: Passport Subcategory: Renewal and ...
2
votes
1answer
42 views

LWC picklist value undefined on initial load

I have a lightning-input-field inside a lightning-record-edit-form, used to create records. The field-name is a picklist field which uses a Picklist Value Set, with one default value. When the form ...
4
votes
1answer
65 views

Predefined Field Value for Picklist

I created an Update Record quick action. Inside the quick action I am trying to update one field which is a picklist field. The picklist field have these options: Item 1, Item 2 and Item 3. I want to ...
1
vote
1answer
72 views

Limit field's pick list options on screen component in a flow

I am creating a flow to Submit a form in HR for processing and it has 14 required fields and 8 of those are picklists. One picklist has to only show 4 out of many options due to Record type ...
0
votes
2answers
36 views

picklist options change depending on previous picklist

I have a requirement to have 2 picklists. The user should select an option in Picklist 1, and based upon their selection Picklist 2 will only display certain specific options. These options should ...
2
votes
1answer
47 views

Lwc getPicklistValues not working on OpportunityLineItem

I am trying to get picklist values for the field on OpportunityLineItem, but getting {}. import { LightningElement, wire } from 'lwc'; import { getPicklistValues } from 'lightning/uiObjectInfoApi'; ...
2
votes
0answers
73 views

Lightning Component not updating records

I need help getting my muddled-together-lightning-component to update existing records. I do not really know what I'm doing so it's a wonder I've made it this far :) My component lists all child ...
2
votes
1answer
38 views

State and Country/Territory picklist enabled

Why is apex Trigger unable to get value from Country/BillingCountry field in a BEFORE INSERT/UPDATE trigger when State and Country/Territory picklist enabled and data created from salesforce UI in ...
1
vote
1answer
31 views

Apex trigger on lead to check for a converted status

I am a bit stuck writing a trigger that checks if the Lead Status was changed to a converted status without converting. As per standard, "Qualified" is the only status that can be used as a converted ...
0
votes
0answers
34 views

force:recordData in modal gives [NoErrorObjectAvailable] Script error when opening another record

I am using force:recordData to help me pull field data and parent field data to pre-fill inputFields of a lightning:recordEditForm for another object. Both are used inside a modal that is opened when ...
0
votes
0answers
22 views

Need to retain the value select in the first picklist while also having the proceeding picklist created not display the value select?

I have a picklist that is being populated dynamically how can I have it so that when I select the value for the first picklist it stays when I add the second picklist which has the same value of the ...
3
votes
1answer
37 views

Is it possible to change salesforce picklist field from one global picklist into another

I am trying to figure out whether it is possible for a Salesforce field to switch from one global picklist into another? Trying to click around but didn't find the option
0
votes
1answer
26 views

Having trouble removing the selected option from a picklist and reloads another picklist without the item?

I've made a picklist that keeps on being added when click on the add option link but the javascript I'm using keeps throwing an error of cannot read property "options" of null <apex:variable value=...
0
votes
1answer
83 views

How to apply State and Country Picklist on a Custom Object after enabling the feature

I followed the instructions for enabling the State and Country Picklist from https://resources.docs.salesforce.com/222/latest/en-us/sfdc/pdf/state_country_picklists_impl_guide.pdf And afterwards when ...
0
votes
1answer
31 views

please help with approval process!

Need help! I am trying to do an approval process, that will be triggered automatically from process builder. The problem I have, is picklists. I want the approval to go out automatically on the ...
0
votes
1answer
30 views

Control picklist values visibility

I have a custom object called "A". I have a custom object called "B". Custom object "B" is related to custom object "A" via lookup field. In custom object "A" as well as in custom object "B" I have ...
0
votes
2answers
27 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 ...
0
votes
1answer
72 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
152 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 ...
1
vote
2answers
153 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
16 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
37 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
62 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
33 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
13 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
40 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
19 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
61 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?...
4
votes
1answer
64 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 ...
3
votes
0answers
234 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 2 3 4 5 18