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 [dependent-picklist]

This tag is used to group all queries about Dependent Picklists

1
vote
1answer
11 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
23 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
75 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
0answers
42 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
85 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
1answer
73 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
23 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:...
0
votes
0answers
304 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 ...
2
votes
1answer
88 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
0answers
38 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
396 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
1answer
66 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 ...
3
votes
1answer
69 views

Is it possible to get ui api Picklist Value Collection response body in ltgn comp js (for pcklst dependencies)

Is it possible to access the picklist value collection response body in a custom component js using a built in component? I need access to the dependent picklist values and their validFor property. I'...
1
vote
0answers
65 views

Kanban View and Required dependent picklist

We have a picklist called Reasons. It is a required field. We use it for determining reasons Won and Lost. The values for each of these are different so we use standard dependency between Stage and ...
0
votes
0answers
20 views

I have one dependant picklist and controlling picklist and just wanted to ftech value of controlling picklist from dependatn picklist [duplicate]

I have one dependent picklist, and controlling picklist, and just wanted to fetch value of controlling picklist from dependent picklist. How can I achieve this using apex? Controlling picklist ...
1
vote
1answer
23 views

Can I set a Dependent Picklist to an unavailable value by Field Update?

I don't want a user to manually set the Status to "Complete". I want to force them to press the Approve button - and let a Field Update in the Approval Process set it. But I want the user to be ...
0
votes
1answer
174 views

Action onchange for two dependent picklist in lightning:recordEditForm

I have two picklist fields, Country(controllling picklist) and State(dependent picklsit). State should change based on Country value for my lightning page. As of now this is happening, but State ...
1
vote
1answer
72 views

Decode dependent picklist validFor mapping in Javascript

Similar to this question, but instead of in C#, I need it in Javascript: Get lists of dependent picklist options in Apex I already have the list of both the dependent values and the control values. ...
0
votes
1answer
203 views

How do I retrieve Country and State Picklist Values (AddressSettings) via API?

How do I get a dependent list of States by Country from Salesforce via API? Our Use Case is: We need dependent Picklists on an integrated 3rd party web platform we intend to pass the returned ...
0
votes
0answers
78 views

Why field dependency not work in Opportunity Product Lightning?

So the scenario is, i have 2 field dependencies from 4 custom picklist fields in Opportunity Product like below. Next When i try to add products in opportunity, the interface seems lock. Even i ...
1
vote
2answers
685 views

Get picklist values of a field which is a controlling as well a dependent field

We are trying to retrieve the dependent picklist values of a picklist field using answer which work fine if they are only controlling field and dependent fields one level. But if the controlling ...
1
vote
1answer
266 views

Named credentials for the same salesforce Org using Oauth - not working

Basically I want to use the UI-API to get dependent picklist values to use in custom lightning page. To access the ui-api, I need to make rest callout from apex. So I created a connected App and Auth ...
5
votes
1answer
775 views

How to present state and country picklists with dependency logic in a Lightning Component?

It's not too hard to present the Contact/Account state and country picklists themselves, but the dependency filtering where when you select "United States" as the country only the 50 or so relevant ...
1
vote
0answers
59 views

Value picklist set - how to make them dependant picklists?

I have converted a picklist to Global Valueset picklist, but the 'Controlling' option is now missing from the field. Is that by design? Can fields that are based on Global Picklist (Value sets) not ...
0
votes
0answers
27 views

standard dependent picklist loosing it's value when required field error occurs on VF page

I have a 2 dependent picklist on a custom visualforce page. ShippingStateCode BillingStateCode While submitting this VF page if there is any required field validation occurs, Shipping/Billing ...
0
votes
0answers
32 views

Visualforce: Renaming Dependent Picklist Labels

I'm looking to create VF page that references two dependent picklist fields. This VF page will be expose to the public so that they can create Support-Level cases. However, I want to be able to ...
0
votes
0answers
61 views

The dependent picklist 'Financier' requires its controlling field 'Program Type' to be present on the page

I have a controlling field Program Type and dependent field Financier.The controlling field Program Type is used in VisualForce page multiple times but the Dependent field is not used anywhere inside ...
-1
votes
1answer
208 views

Unable to get the selected picklist value in VF page

We have a web2case form (Screen shot attached below) and In the form we need to show/Hide loa reason field based on the values in Category and sub- category picklist fields, This functionality is not ...
0
votes
1answer
273 views

Picklists validFor attribute

So i am using SFs Rest API to fetch various data from SF, i am fetching all values for a picklist. Problem is that picklist has dependacies, so half of the values either belong in one category, or ...
0
votes
1answer
30 views

How to server-side exclude all but 1 specific picklist value from a record creation visualforce form?

I have a visualforce page that accepts inputs and creates an Opportunity... In Standard Opportunity creation page layouts, there are many options for StageName, but in visualforce, I need to display ...
0
votes
1answer
90 views

Global dependent field

I have in object two field Type__c and Phase__c, both are picklists, there is a field dependency in these fields. Type__c is the controlling one and Phase__c is the dependent. I want the same exact ...
0
votes
1answer
369 views

Dependent Picklist Configuration Not Deploying

I have created a 3 level dependent picklist chain: Reason 1 Reason 2 Reason 3 Where 1 determines 2, and 2 determines 3. The problem is, I have deployed this from our Dev org to our Test org, which ...
0
votes
1answer
132 views

Dependent picklists not working in VF Component

I have a VF page which uses a custom controller SearchController. The VF page a has component TempCmp. In the component TempCmp, I am trying to use dependent picklists using apex:inputField. It ...
0
votes
1answer
21 views

refer 1st child object from 2nd child object through parent

I have a requirement in which i have 2 child objects:Agreement__C & Payments_Due__c and parent object: Policy_Holder__c.Now i want to create formula field on picklist so that i can refer ...
0
votes
0answers
27 views

Visualforce Input Picklist from Child Object

I have a visualforce page to generate a OpportunityLineItem. It is launched from the Opportunity page. I want a picklist for users to enter a custom field Product_Type__c. The Opportunity is the ...
0
votes
1answer
57 views

Why dependant picklist is not comming in the drop down?

I have a Custom picklist say SubProcess, which is dependent on the SubStatus field, even though I have included in the dependant picklist, but its not reflecting what could be the reason ? I am ...
0
votes
0answers
116 views

Best practice for creating dependent fields/pick-list

we have few requests in reporting modules that requires: two letter country code instead of full name. e.g. United States should display as US. And I need separate field for that What is the best ...
0
votes
1answer
221 views

Making dependent picklist value default in VF page

On Opprotunity object there is Stage(standard) and Status__c(custom) picklist fields. Status(dependent) is dependent on Stage(controlling) field. I want to make Open defalut value for Status__c in one ...
2
votes
2answers
2k views

How to Auto populate Dependent Picklist Value based on the value selected in Controlling Picklist

I have 2 Picklist fields on Opportunity Object Country(Controlling) and Geography(Dependent).Based on the value selected in Country Picklist,it auto populates the value in Geography field.This is ...
1
vote
1answer
75 views

How to show specific pick list values in pick list based on Type, Category etc?

I have a Unique RecordType, Category, SubCategory, Type in my application. I have so many Status Picklist values around 100. Based on the combination of RecordType, Category, SubCategory, Type, I ...
1
vote
1answer
322 views

Dynamic Dependent Picklist in Pardot

How can we create dependent picklist in : Pardot Forms Prospect With the same feature present as a dependent picklist in Salesforce CRM
0
votes
1answer
61 views

Custom object dependent picklist modal

I have a modal I am popping when the users click a link. The modal will bring up two drop down lists based off a custom object. This custom object has two picklists one of which is dependent on the ...
0
votes
1answer
116 views

Visualforce pages may not display more than 10 dependent picklists together with their controlling fields.

I am trying to create a VF Page with more than 10 dependent Picklist fields. I am getting the below error : Visualforce pages may not display more than 10 dependent picklists together with their ...
0
votes
1answer
72 views

Visualforce pages may not display more than 10 dependent picklists together with their controlling fields

I am creating a VF page with standard controller and on that we need to have 12 picklist fields in one page-block and 12 dependent picklist fiields are dependent on other pick list values. i am ...
0
votes
0answers
173 views

Rerender inputField on Lightning component (dependent picklist hack)

Is it possible to re-render an inputField in Lightning so that it re-fetches its values from the server (how we used to do it with VF)? I am well aware of the limitations associated with picklists ...
0
votes
1answer
173 views

Toggle display of dependent field in Lightning

In Lightning, with as little custom coding as possible, what is the best way to show a dependent field when a particular picklist choice is selected? Please note, this question is not directly about ...
1
vote
2answers
138 views

auto number depending on picklist

is it possible to have a auto number field count only if a specific picklist value is selected? Can this be done with a trigger? Below is my use-case: I have a picklist with different customer types. ...
0
votes
0answers
30 views

Is it possible to display contact pick list based on account pick list selection?

An account have a pick list field called country and its values with India, USA, Japan and Russia. A contact have a pick list field called state and values with Indi1, Indi2, USA1, USA2, Japan1, ...
0
votes
1answer
340 views

Values are not getting updated in the picklist through the data loader, error: Bad value for restricted picklist field

I have a situation: Under opportunity Country and state are picklist. both country and state are a global set of picklist. Country and state are dependent picklists (controlling: country and state: ...
0
votes
0answers
2k views

'INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST' Even when the value is present in picklist field

I have created a field of datatype picklist and added some values in it. And checked 'Restrict picklist to the values defined in the value set.' and 'Controlling Field' as Country. The data is loaded ...