Linked Questions

1 vote
1 answer
715 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 ...
Nitish Mishra's user avatar
0 votes
0 answers
296 views

How to populate Dependent PickList value in Apex Class/ Trigger [duplicate]

I need to populate some picklist value on an Opportunity Trigger. There are two pickList : 'PickList1' and 'PickList2' . Both of them are on same Opportunity Object, 2nd one is the dependent on the ...
Noob_NoVoice's user avatar
  • 2,709
1 vote
0 answers
279 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 ...
Varun's user avatar
  • 3,093
52 votes
6 answers
14k 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 ...
Grekker's user avatar
  • 1,092
6 votes
1 answer
15k views

Retriving all Active picklist values of all recordtypes

Can you please guide me best way to retrieve all active picklist values of all recordtypes of object. Can it be possible through API or any Apex Script. I want something like below and i will write ...
David Mycka's user avatar
  • 1,317
4 votes
3 answers
3k views

Update Dependent Picklist when created by API

We have a process where products are created in another system and then are pushed into Salesforce via the API. One of the fields that is coming over is a picklist that several other picklist fields ...
Dan Wooding's user avatar
  • 3,578
2 votes
2 answers
2k views

Caching Expensive Results

I'm building a custom interface in Visualforce that uses dependent picklists. Since Apex doesn't expose information about dependent picklist values, I've had to resort to building that information on ...
Benj's user avatar
  • 11.2k
5 votes
1 answer
5k 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 ...
Keith C's user avatar
  • 136k
8 votes
1 answer
3k views

Does force:inputField support dependent picklists?

Let's say I have two picklists bound to force:inputField elements like so: <force:inputField value='{!v.obj.Database__c}' aura:id='database'/> <force:inputField value='{!v.obj....
Antonio Manente's user avatar
4 votes
2 answers
1k 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. ...
Bill Software Engineer's user avatar
4 votes
2 answers
5k views

Country and State picklist in apex

I want to check if state exists or not with a country in State and Country Picklist feature supported by Salesforce. I want to do this in Apex. How can I do this?
Ian Roque's user avatar
  • 563
0 votes
1 answer
6k views

How do I get Country State Picklist Values in a lightning component? [duplicate]

We have State and Country Picklist enabled in the org. I cannot find a way to find out the list of states based on the selected country. I need this in the lightning component. I've used ...
Tasnim's user avatar
  • 179
4 votes
3 answers
2k views

Can I reuse the dependency logic of State and Country picklists from Account/Contact in a Apex Classes?

I have enabled the State and Country picklists in Salesforce and I was trying to get/create the same kind of country and state picklist with dependency from Contact in a visual force page. I have ...
praveen kumar's user avatar
1 vote
2 answers
5k views

See all picklist values for a dependent field

I have several fields among them two fields are 1.Master and 2.Child and i have created dependency between them.I want to know that how can I get(preferably using Wokbench) all available values of ...
Surojit's user avatar
  • 11
1 vote
2 answers
5k 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 ...
Praveen's user avatar
  • 10.1k

15 30 50 per page