Linked Questions

1
vote
1answer
435 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 ...
1
vote
0answers
220 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
0answers
182 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 ...
37
votes
3answers
6k 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
1k 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
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
2k 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
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 ...
1
vote
1answer
2k 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 ...
0
votes
1answer
2k 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 ...
1
vote
2answers
2k 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
2k views

Live Agent Pre Chat Form - Use Custom Case Picklist Fields

I am trying to make a Live Agent Pre Chat Form inside our Salesforce Customer Community using visualforce. I've tried out a lot of approaches and cannot figure out how to use custom picklist fields (...
3
votes
2answers
1k 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?
0
votes
2answers
2k views

Dynamic Apex for display dependent picklist in vf page

I have two picklist fields Category__c and SubCust__c(dependent on Category__c field). How to display this field values in vf page as multiselect from a Apex Class. Currently both multiselect are ...

15 30 50 per page