Edit State and Country Details
- From Setup, enter State in the Quick Find box, then select State and Country Picklists.
- Click Configure states and countries.
- Click New Country to add a country or clickEdit for a listed country.
- Under Country Information, specify your options.Country NameBy default, the ISO-standard name. The name is what users see in the Salesforce user interface.Country CodeBy default, the two-letter ISO-standard code. If you change an ISO code, the new value must be unique. Codes are case insensitive and must contain only ASCII characters and numbers. You can’t edit the ISO codes of standard states or countries. You can edit the country codes of custom states and countries only before you enable those states and countries for your users.Integration ValueA customizable text value that is linked to a state or country code. Integration values for standard states and countries default to the full ISO-standard state and country names. Integration values function similarly to the API names of custom fields and objects. Configuring integration values allows integrations that you set up before enabling state and country picklists to continue to work.You can edit integration values to match values that you use elsewhere in yourorganization. For example, let’s say that you have a workflow rule that uses USA instead of the default United States as the country name. If you manually set the integration value for countrycode US to USA, the workflowrule doesn’t break when you enable state and country picklists.When you update a code value on a record, that record’s State/Province (text only) or Country (text only) column is populated with the corresponding integration value. Likewise,when you update a state or country (text only) column with a validintegration value, we keep the corresponding state or country code column in sync. You canchange your organization’s integration values after you enable state and country picklists.However, when you update your picklists’ state and country integration values, theintegration values on your records aren’t updated. Name values aren’t stored on records.Instead, they’re retrieved from Salesforce based on a record’s State Code or Country Code value. If the states or countries inyour picklists have different field values for Name and Integration Value, make sure your report or list view filters use thecorrect values. Use names in State and Country filters, and use integration values in State (text only) and Country (text only) filters. Otherwise, your reports can fail to capture all relevantrecords.ActiveMakes the country available in the Metadata API so that records can be imported that contain the country. However, unless you also set it as visible, the country isn’t available to users in Salesforce.VisibleMakes the country available to users in Salesforce. A country must be active before you can make it visible.
- If you’re adding a country, click Add.
- If you’re editing a country, specify the options for States:ActiveMakes the state available in the Metadata API so that records can be imported that contain the state. However, unless you also set it as visible, the state isn’t available to users in Salesforce.VisibleMakes the state available to users in Salesforce. A state must be active before you can make it visible.
- Click either of the following, if desired.New State to add a custom state or province. On the New State page, specify a State Name, State Code, and Integration Value, and select whether the new state is Active or Visible. To save the new state, click Add.Edit to view and edit state or province details, including the State Name, State Code, and Integration Value.
- New State to add a custom state or province. On the New State page, specify a State Name, State Code, and Integration Value, and select whether the new state is Active or Visible. To save the new state, click Add.
- Edit to view and edit state or province details, including the State Name, State Code, and Integration Value.
- Click Save.