Questions tagged [dependent-picklist]

This tag is used to group all queries about Dependent Picklists

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

Dependent picklist values are not pre-populated in record-edit-form

I am using a set of dependent picklists in a lightning-record-edit-form. When the form is loaded with a recordId set, the record has all the fields filled, only the controlling picklist values are ...
0
votes
0answers
34 views

Path of dependent picklist

I have created Field dependencies, Status picklist field is controlling and sub status picklist field is dependent. I have a requirement of showing path of both Status and Sub status picklist fields ...
0
votes
0answers
23 views

Create Dependent Picklists in Custom Metadata declaratively

In our project we've got a Custom Metadata with 2 Picklist Fields: Field 1 Field 2 Field 1 is a Controlling field for Field 2 Two questions: How to create two dependent picklists like we've got in ...
0
votes
1answer
32 views

Text field dependency from picklist

I am aware that field dependencies can only be created on Picklist and checkbox fields. What I am trying to achieve is the following: when a certain value from a picklist field is selected, some TEXT ...
0
votes
1answer
15 views

How can I create picklist field on a object, where the values/options of picklist should be the fields of another object?

I am new to salesforce and I have been trying to find answer for this requirement related to our application. Basically I have a Custom Object Field_Config__c, on which I want to create a picklist ...
0
votes
0answers
18 views

Dependent Picklist Values not fully available

I have an aura component and it is designed to be used with case. The issue is when user opens the form and changes a controlling picklist ("Type") the dependent picklist ("Sub-Type&...
1
vote
0answers
139 views

How to create a LWC component for a flow builder with a Dependent picklist values based on the Record Type

I am trying to implement a LWC component in my flow based on the record type. So when the case has a specific recordType only the value for this recordType are shown on the screen component. here is ...
0
votes
0answers
18 views

How to set value for dependent fields in VF page?

In vf page on clicking new it displays 3 input dependent fields also I am setting the value for those field in the javascript. But still it doesn't setting up? <apex:column HeaderValue="...
0
votes
1answer
14 views

Process builder creates an Opportunity record but the values of the three dependent picklist fields are not set

Use Case: When  a check box on the Account record is set to True , Create a new Opportunity Record, and set the values of the dependent picklist fields.  What Works so far, and what doesn't ? The ...
0
votes
0answers
26 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
0answers
26 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
1answer
20 views

Get dependent picklist name from controller picklist name using APEX

I got a situation that if I pass the controlling picklist name then I have to find the dependent picklist field name using APEX. I know the vice versa can be achieved though ie , Dependent ----> ...
0
votes
0answers
26 views

Dependent picklist issue while adding dynamic rows in table LWC

I'm able to achieve dependent picklist functionality in LWC, I have this functionality in html table, onclick of button (Add rows) I'm adding rows dynamically in the table. As you can see in the ...
0
votes
0answers
16 views

Screen flow: Dependent Picklist element fails when 3 picklists are defined

I have a screen flow with a Dependent Picklist element. It has three dependent picklist fields from a custom object. The fields are Class < Section < Subsection. I am using the picklist ...
0
votes
0answers
83 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 "...
0
votes
0answers
22 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 ...
0
votes
0answers
63 views

Read only and pre-selected dependent picklist on flow

I'm facing a problem where I need to use a dependent picklist on a flow, but the controlling field has to be pre-selected and read only. Is there any way I can achieve this without creating a custom ...
0
votes
1answer
53 views

Validation Rule for 2 Dependent Picklists when Status = Closed

I have 2 dependent standard picklists (Fault1__c, Fault2__c) which are controlled by the same standard picklist (Secondary__c). The reason I went down this path, is to get around the 2000 value ...
1
vote
1answer
133 views

Adding field dependency for a StandardValueSet field (OpportunityStage) isn't captured as a change in source

GOAL/OBJECTIVE: Add a dependent picklist (Loss_Reason__c) to the StandardValueSet : OpportunityStage, using SFDX as the package deployment method (rather than ANT Migration Tool). The fields (...
0
votes
2answers
52 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 ...
4
votes
0answers
366 views

LWC @wire order of execution not working for ie11

I have implemented a lightning web component (lwc) that shows a dependent picklist field To load a dependent picklist in lwc I use @wire with getPicklistValues and because getPicklistValues requires ...
1
vote
0answers
318 views

REST API - Picklist UI API Error

I have written apex code block to fetch picklist values for dependent picklist fields for a custom object using Picklist UI API for Community Portal users. The request URL looks like this: https:///...
1
vote
0answers
143 views

Default Value for Dependent picklist field in Salesforce Lightning

How to assign a default value for a dependent picklist field in salesforce lightning . I am unable to assign a default value for dependent picklist field in lightning . cmp <aura:component ...
0
votes
0answers
812 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
1answer
415 views

How to Build dependent picklists in Lightning Web Components?

I need to control a product Combobox by Pricebook Combobox in Lightning Web Component I've created an LWC that contains two comboboxes: Pricebook list and Product list. I was able to get the list of ...
0
votes
0answers
18 views

In flow, dependent picklist span the entire page unlike a normal picklist

Basically title. Is there a way to get around this? It’s horribly inconsistent.
0
votes
1answer
1k views

Error : Flow : activate Lighting runtime

I have created a flow which contains a Dependent picklist component. When I execute the flow I obtain this error (screen 306). However, I have activated the permission, so I don't understand where ...
1
vote
1answer
71 views

4 Level Picklist Dependency

I'm trying to set up 4 picklist that are dependent on each other. The idea is this: There are 4 different picklist. Pick1, Pick2, Pick3, Pick4 Pick2 is dependent on Pick1. Pick3 isn't necessarily ...
1
vote
1answer
520 views

What is the validation rule for a text field that shouldn't contain data if the correct picklist value has been selected first?

I created this Validation Rule that when a user selects Yes from the, Any_other_liens_filed_against_you__c picklist but tries to save the record without completing the text field, "...
0
votes
1answer
386 views

Flow Dependent Picklist Values

I'm sure this is a simple fix, but I cannot figure out how to store the selection from a Dependent Picklist component. I am using just a basic Opportunity with the StageName and a child picklist, ...
0
votes
1answer
42 views

How to Enable all state list for State and country picklist

We were using the state and country text field in address. Now, we have enabled the standard state and country picklist. But the state picklist is shown for only 9 countries. Eg. USA has state ...
0
votes
2answers
440 views

Picklist values not populating for dynamic rows in lightning component

I have a lightning component that I am trying to add dynamic rows and delete them and save the records on Submit. I asked this question, and I am able to retrieve picklist values without additional ...
0
votes
1answer
42 views

Trigger change in PickList4.js from Salesforce

How can I trigger a picklist change event inside salesforce: We have the following code : <apex:outputPanel id="dynamicRerender"> <apex:repeat value="{!strings}" var="...
1
vote
1answer
280 views

Get field API Name of dependent field if picklist has dependency

Is there a way to retrieve via Schema.DescribeFieldResult field that sets dependency on picklist fields that have isDependentPicklist() true? For example: If my field Field1__c (picklist) has a ...
3
votes
1answer
152 views

Identifying the controlling picklist of a dependent picklist

Is it possible to identify the controlling picklist for a dependent picklist in Apex. Currently, I am using the DescribeFieldResult class to get information on object fields; type, name, length, etc. ...
0
votes
1answer
3k views

Is there any way to make a text field dependent on a picklist field?

I have one picklist field where 'Other' can be selected. I want to create a text field that is dependent on this picklist where the user can then type in this other reason. I know the mechanics of ...
0
votes
0answers
39 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
167 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
55 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
30 views

Field to pick-list selection

Hi I need a favor regarding pick-list selection. for example: I have a Location object. In Location object I have (County name) field. I created county 1, county 2, county 3. And I have another ...
1
vote
1answer
772 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 ...
2
votes
1answer
176 views

Why does the DependentPicklists class returns empty Map when trying to output Country and State picklist?

We are implementing the DependentPicklists class found in another answer on this site. Our org has State and Country picklists enabled, so we are trying to get this to work using the Contact....
2
votes
1answer
2k 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 ...
2
votes
2answers
992 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
360 views

Dependent picklist values disappear after Visualforce page submit

I have a Visualforce page with a controlling picklist field and a dependent picklist field. Both fields are required entry during record creation, but instead of using the required parameter on apex:...
1
vote
2answers
2k views

Winter 19 Flow Dependent Picklist Error

When using the Flowscreen lightning component for Dependent picklists I am encountering an error. The components is configured: Object API Name - the object where the picklists reside Picklist 2 API ...
3
votes
1answer
1k 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
1answer
737 views

extracting Field dependency metadata using SOQL etc

We are migrating from salesforce to another system. We need to build field dependencies for dependent picklist fields in salesforce in the new system as well. Can we extract field dependencies from ...
0
votes
2answers
2k views

how to load a dependency pick-list values by using force:recordData

I have created a custom component for creating, edit records. in that i have a dependency pick list values. now i want to display values on load of record.here is my code. please correct me. ...
0
votes
2answers
445 views

Dependent picklist error: “Validation Error: Value is not valid”

I have a table, where each Wrapper instance corresponds to each row of the table. On select of Project - tasks of selected project should be rendered. If i'm trying to pick task and add a new row VF ...