Questions tagged [dependent-picklist]

This tag is used to group all queries about Dependent Picklists

Filter by
Sorted by
Tagged with
1
vote
1answer
34 views

Picklist field “Rating_score_c” and another text field name is “Rating_Grade_c”

If I choose Picklist Field name is Rating_Score_c (1,2,3),(4,5,6),(7,8,9) then in another field Rating_Grade_c show the grade A,B,C. ie., means when i choose/pick any number (1,2,3) then it shows ...
1
vote
0answers
92 views

Using Javascipt to Create SelectList Dependencies in a VF Page

I am trying to code create dependent Picklists out of 2 apex:SelectLists on a Visualforce page. I have a junction Object called Service_Transaction_Type__c that creates a many-to-many relationship ...
0
votes
0answers
35 views

Can a picklist be dependent on 2 controlling picklists? [duplicate]

I have 3 fields. Category, sub-category and products. Sub-category is the dependent picklist of category and Products is the dependent picklist of Sub-category. But, not all Categories have Sub-...
0
votes
0answers
964 views

Get state dependent picklist in apex when State and Country Picklists is enabled

I have enabled State and Country Picklists in my org. I am getting values in piclist. But the are not dependent. Like if i select country "India" i should get states only related to india. But it is ...
1
vote
1answer
4k views

Creating Dependent Picklist using apex code

Trying to create Dependent picklist as for some business requirement and salesforce limitation I cannot use standard Dependent picklist provided by salesforce. I have two picklist fields on my ...
5
votes
1answer
211 views

How are State and Country Picklist values encoded/updated in the rendered page?

We have a bug where the state picklist does not update when the country picklist is changed in one page (with the feature working in other pages). There are no JavaScript errors in the console. To ...
36
votes
3answers
4k views

How do I get the intersection of RecordType and Picklist values inside Apex?

Context This question has been asked before in the past and I've found several discussions of it here on StackExchange and elsewhere (links below to pages I've found in my research). So far I'm not ...
1
vote
0answers
57 views

How to Make United States as a default value in customized picklist field

I have created a country picklist and have made united states as a default value in picklist. I have also created a state picklist which is dependent on country field but when I create a new record,I ...
0
votes
0answers
481 views

Control dependent Picklists using Javascript

I have a visualforce page with three picklists. Country, Group, Products. Country is controlling field and Group is dependent picklist. Group is controlling field and Products are dependent picklist. ...
2
votes
0answers
105 views

How to map states of usa with cities in salesforce

Currently I have a requirement to map all the states of usa with respect to their cities. I know it can be made with the help of controlling picklist but is there any option to make the process ease ...
11
votes
2answers
4k views

Are dependent picklists supported in Lightning Components?

It's possible to define dependent picklist in the setup and the are supported out-of-the-box in Visualforce. Are they also supported in Lightning natively? Is it on the roadmap to support them soon? ...
0
votes
3answers
599 views

Multiselect picklist as Controlling field on Field Dependencies

I have a requirement where Multiselect picklist field to be controlling field on field dependencies for dependent picklist field but this is not possible.Here is the idea. https://success.salesforce....
0
votes
1answer
28 views

How do I set up contact and opportunity pages so that the agency field is populated based on the account field?

I am trying to set up an agency field in both the Contact and Opportunity page layouts so that when a user fills in the account field the agency field is automatically populated based on the agency ...
1
vote
0answers
31 views

Depending Field in List with edit mode

I have a list of all open opportunities and the possibility to edit the list. Also I have the depending field recordtype (product) connected with stagename. If I change the recordtype the picklist of ...
0
votes
1answer
74 views

A picklist automated answer that is dependent on two previous picklists [duplicate]

Hi all, Currently trying to build this into salesforce. I need to have a picklist field which is automated on the results of two previous options that are manually selected. They are all on the same ...
1
vote
1answer
382 views

Opportunity RecordType and Sales Process

If I want a picklist with the Stagename and the Probability, I can use the code below. But how can I get a list of RecordTypes with the Stagenames? public List <SelectOption> getProductList() {...
2
votes
2answers
276 views

Dependent picklists work in the browser but don't work in Salesforce1

I have a series of dependent picklists on the Lead create page, with field dependencies set up on them. For the same user, these dependent picklists populate with the correct values based on the value ...
2
votes
4answers
1k views

Creating dependent picklist on flows

In Flows, is it possible to create a dependent picklist inside one screen with out using two screens? ex:
0
votes
1answer
217 views

Dependent Picklist from standard field

I have a list of open and closed opps from a selectedaccount, this works fine. But if I want to change the picklist fields (RecordType, Stage) should change the dependent field. The fields Stage and ...
0
votes
1answer
445 views

Dependent Picklist Visualforce

I select the country in the frist field than should show the second field the state, that works fine. But If I select the state I want to select the city in the third field. It doesn't work. <apex:...
0
votes
1answer
93 views

Picklist value check not working

I have below code snippet here where I am not getting if clause work properly. Can someone please help? Outcome_abv__c is a picklist value. I can't find any picklist value as '--None--' it comes up ...
0
votes
0answers
370 views

Dependent Fields in Web a lead form

when i calling a dependent picklists in the model to web leads, addiction is not working. What syntax should I use ?
1
vote
0answers
51 views

Controlling Picklist Value is not showing up on the email template

I have a controlling picklist, which values are not showing up in the email template when i use the test of sending template, but the dependent picklist value is showing up, i do not know, where to ...
3
votes
1answer
778 views

programmatically selecting picklist item dependent value

I am writing a program which reads data from CSV text files and attempts to upload data into my organization's Salesforce account. I am writing this console application in C# and with my organization'...
1
vote
2answers
600 views

Updating the picklist values in VisualForce/apex controller

Is it possible to have two control fields for a picklist field?Can we achieve it by Visualforce? I have three fields.Sold (Checkbox), Onsite (Picklist) and FlagStatus(Picklist). If Sold field is ...
2
votes
1answer
1k views

Alternative approach to multiple dependent picklists

Within service cloud, I have a requirement to allow for case categorization. I currently have a hierarchy of 5 dependent picklists: Product Product Area Category ...
14
votes
2answers
7k views

Picklist Values in Dynamic Lightning Components

Is there an out-of-the-box solution to populate record-type specific picklist values when creating a picklist dynamically (in a Lightning Component) that references an sObject field? At this point ...
2
votes
1answer
1k views

How can I create a dependent pick list on a visual flow page?

I have 2 pick-list fields on an object, that are dependent to each other. How can I create such connection on a visual-flow screen?
1
vote
1answer
378 views

How to Access dependent picklist(MailingState) in apex? [duplicate]

I have enabled state and picklist value in client's unlimited org. I need to access only dependent state based on selected Country code. There are some integration and other apex changes where I need ...
0
votes
1answer
207 views

Create Picklist Values by workflow update

Can I create picklist values dynamically by Workflow updates? In a custom object picklist values need to be populated with Account Names dynamically after creation of an Account. Please let me know ...
1
vote
2answers
69 views

Assign value from drop down list in to custom field

The code below is running, but there is still a problem... the pick list behaviors is well, but when I saved the record I'm losing the value, so my goal is save the pick list's value in to the custom ...
1
vote
1answer
719 views

Capturing Only Date & Month for a Date in Salesforce

We have a requirement to capture only "Date" & "Month" for a field (for e.g. Birth Date). We don't want to capture birth year. I think the best way to capture this in Salesforce would be by ...
2
votes
1answer
3k views

how to get status and category value based on zone name in idea object salesforce

This question only for users, who have knowledge about Idea object in salesforce For user who don't know about Idea object, I can't help . how to get status and category value based on zone name in ...
2
votes
2answers
163 views

Picklist using Dynamic Apex

How to display dependent pick-list fields and their values using dynamic apex in visualforce page. I need to have multiselect hence i am using the below code - public List<SelectOption> ...
10
votes
2answers
1k views

Overwrite Style from dependent picklist

I have a style that I want to keep but it looks like the dependent picklist is only loaded after the controlling picklist has been picked, leaving some really strange Styling. I used a wrapper like ...
5
votes
2answers
60 views

Codes and Values

We have clients that use a lot of codes in their day to day activity. Eg: Take a look at the UK Government Common Basic Dataset: https://www.gov.uk/government/publications/common-basic-data-set-cbds-...
1
vote
1answer
556 views

Dependent picklist across objects

Scenario: I have a Visualforce Page on which users create Quote Line Items based on a custom search function. First, they select the product. Next, they fill in some values that come from a FieldSet, ...
1
vote
0answers
167 views

Exporting Picklist Values and the combinations [duplicate]

We have 3 different picklist fields in our Case object Queue/Type/Area Queue controls Type values. Type controls Area values. I would like to know whether there is a way to export picklist values ...
0
votes
2answers
158 views

Picklist return lookup as dependent

I have a request in the case object with fields: Requestor: Lookup user Are you the user affected? Picklist (yes/no) Then if the answer is YES = a field called User affected is filled with the ...
1
vote
0answers
1k views

Retrieve picklist and its dependent field value email template

I'm newbie in salesforce and my first task is to create an email template with some conditionals. Then, this what I have: Object called Service Request, Picklist field called Sub Type 1 and 5 ...
0
votes
1answer
62 views

Picklist value monitor

I have a custom object X where I have lookup of Y. Now in Y there are three values(Y1,Y2,Y3). For Y1, a picklist values in X would come up as X1,X2. For Y2, picklist values in X would come up as Xa,Xb,...
2
votes
1answer
2k views

manipulating Field Dependencies with Metadata API

Is it possible to manipulate Picklist's Field Dependencies with Metadata API? If so, is there any reference or example out there?
1
vote
2answers
438 views

Visualforce Search Page - Dependent Picklists

I'm working on building a custom search visualforce page and I've run into a problem. I have added 2 picklists (one controlling and one dependent) as filtering fields. However, when I go to the VF ...
0
votes
1answer
1k views

Why standard picklsit is not part of dependent fields?

please answer my question as iam in a bit confusion. thanks i advance..I have tried i many websites why A Standard picklist is not a dependent picklist?
1
vote
1answer
1k views

Multi level multi select dependent picklists

I have an interesting question which I am having trouble solving. The table below will show you better what I have to do. Based on a multi-select picklist (column OU in the table above) the user is ...
2
votes
2answers
1k views

Is it possible to add the custom style for Dependent Picklist

Is there anyway to add the custom style for dependent picklist in viusalforce page? I have created the visualforce page with custom style dependent picklist . But it works for only contolling field ...
1
vote
1answer
340 views

Twice dependent picklist unpopulated on visualforce page

I've been coding a visualforce page and have hit a hitch. I have 5 picklists: I have one normal picklist, a dependent picklist on the normal one, and three separate dependent picklists which depend on ...
2
votes
0answers
56 views

Dependent picklists in components conflicting with each other

Imagine an object called Location that has a Country, State, and City dependent picklists. You select a Country then the States are populated, you select a state then the Cities are populated. Now ...
1
vote
2answers
1k views

Visualforce page with picklist dependent on multiple checkbox fields

I am working on creating a visualforce page (edit page), in which there is a picklist field. The values that are available within this picklist field should be dependent on whether or not a number of ...
2
votes
1answer
608 views

problem creating a dependent picklist

I want a user to be able to firstly select a value from a picklist and then to be able to select values in a lookup. For example, if the user selects the value "campaign" from the lead source ...