Have you ever wondered what is State and Country/Territory Picklists in Salesforce? If you are not sure what it is and curious about it, please read on! It will save your day 😉

State and Country/Territory Picklists

State and Country/Territory Picklists is a feature provided by Salesforce which allows you to choose the State and Country from picklists instead of manually typing it out.


ALERT | Once the feature is turned on, you will also lose the address autocompletion feature!

Enable State and Country/Territory Picklists

Before you can enable this feature, you need to do the following steps:

1. Configure state and country/territory picklists

By default, Salesforce has prepared a whole list of countries for you. You can also set the Default Country/Territory here:


You can also add new Country/Territory like below:


Once your Country is added, you can add new State into it:


You can always come back to edit the Country or State here.

2. Scan your org for state and country/territory data


You will be receiving two emails from Salesforce when the scans are completed.


3. Map and convert your data

You can choose which value to map with which Country and save to the change list.


Once you have done mapping the Country, you can click Next to map State.

When everything is all set, you can click Finish or Finish and Enable Picklists. Please bear in mind that once the feature is enabled, you will have to say bye-bye to your beloved address autocompletion feature. However, you can disable the feature if you need.


Modify Picklists

Now, you should be able to see your address field become like this:


If you would like the State to display in abbreviation (ex: Arizona -> AZ), you can navigate to Setup > State and Country/Territory Picklists and click on Configure states and countries. You can then click edit on United States and edit the State value like this:


Once you have done that, you should be able to see the State in abbreviation:


NOTE | When you modify the State value, you see can see the value displayed is updated, but if you query the field, the value will still display the previous value until you save the record (with or without modification).

Once you enabled this feature, you cannot update the State or Country field to a non-defined value. For example, you will be getting an exception for updating the value to a non-defined value:


Well, that's all about it. Thanks for reading!

Post was published on , last updated on .

Like the content? Support the author by paypal.me!