Linked Questions

1
vote
1answer
562 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
0answers
295 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 ...
1
vote
0answers
269 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 ...
45
votes
5answers
10k 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 ...
4
votes
3answers
2k 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 ...
2
votes
1answer
7k 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 ...
2
votes
2answers
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 ...
8
votes
1answer
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....
4
votes
1answer
3k 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 ...
4
votes
2answers
3k 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?
4
votes
1answer
2k views

Accessing the AJAX API in a Community

I'm encountering a weird issue where a VF page in my Community fails to connect to the AJAX API. (I suspect this is a bug but don't have a great track record with SF support, so I'm hoping someone ...
0
votes
1answer
4k 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 ...
4
votes
3answers
1k 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 ...
4
votes
2answers
674 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. ...
1
vote
2answers
3k 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 ...

15 30 50 per page