Vote 310  points

Matthew Lamb

State & Country Picklists - Accept ISO 3 Code values and compliant Text updates

Salesforce Platform, Apex & Visualforce, Customization

After enabling the State & Country as Picklist, when you query one of the new picklist fields, such as Account BillingCountryCode, which is the newly created Billing Country picklist on the Account, it returns the ISO Code value to you. So if the field shows "United States" through the UI, you get "US" back in the query of that field.

When trying to update that field (BillingCountryCode), or any of the standardized picklist Code fields, you must use the 2-letter ISO Code values to make the update.

It would be helpful if we could also use 3 digit ISO code values (e.g. "USA" for United States), as well as accept a full text value that matches the picklist value (e.g. be able to accept "United States", since that is the exact picklist value).

1 year ago · 5 Comments ·Merge Idea · Report Abuse

1 to 5 of 5

Ideas

Apps

Questions

Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.



 

 

Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.

Salesforce.com takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.


 

Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.