function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mitchell McLaughlin 1Mitchell McLaughlin 1 

Does anyone have experience with state/country picklists?

Hi everyone -

We recently implemented state/country picklists. We use an integration value for replication via Outbound Messaging. Unfortunately, this integration value is flooding our system with bad data. On an object that looks up to an account, it has a formula field named Account Country, that is set to Account__r.Country.

It is setting it to the integration value, is there a way to set it to the display name of the picklist instead of integration value?

Thanks!
NagendraNagendra (Salesforce Developers) 
Hi Mitchell,

Please refer to the below links:

https://help.salesforce.com/apex/HTViewHelpDoc?id=admin_state_country_picklists_integ_values.htm&language=en_US

http://salesforce.stackexchange.com/questions/100106/accessing-state-province-picklist-integrationvalues-through-apex

http://salesforce.stackexchange.com/questions/33573/are-state-and-country-picklist-values-enforced-for-data-inserted-through-the-api/33620#33620

Please mark it as solved if it helps you.

Best Regards,
Nagendra.P