---
schema_version: "1"
id: b74291b9f1dd3ef8c47f3cf8579537c8a44569f118633f0de36da68508f53729
title: Scan State and Country/Territory Data and Customizations
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/admin_state_country_picklist_scan_metadata.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.admin_state_country_picklist_scan_metadata.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 7005c463dfdb603538f0699f44e3649fe58876971f27175e2b00be0cd4d9b191
description: Scanning an organization for text-based state and country values reveals where and how text-based state and country data appears in existing records.
products:
  - Salesforce Platform
  - Cross Cloud
release: "264"
---
# Scan State and Country/Territory Data and Customizations

Scanning an organization for text-based state and country values reveals where and how text-based state and country data appears in existing records.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>All</strong> Editions except Database.com</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d79803e64">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d79803e64 ">To scan state and country data and customizations:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d79803e64 ">
              <p>Modify All Data</p>
              <p style="margin-bottom:0;">AND</p>
              <p style="margin-bottom:0;">Create Documents</p>
            </td>

          </tr>
        </tbody>
      </table>

For example, you can see all the ways United States is saved as a text value, such as U.S., US, America, Estados Unidos, and even misspelled entries like Untied States. In addition, scanning shows you where state and country data is used in customizations, including:

- List views
- Reports
- Validation rules
- Custom buttons and links
- Workflow rules
- Email templates
- Field sets
- Apex classes and triggers
- Visualforce pages

When the scan is complete, you receive 2 emails with links to detailed reports: one on address data and one on customizations. After analyzing the reports, begin the tasks of converting existing data to picklist values and updating customizations so that they work with the new picklist fields.

1. From Setup, enter State and Country/Territory Picklists in the Quick Find box, then select **State and Country/Territory Picklists**.
2. On the State and Country/Territory Picklists setup page, click **Scan for state and country/territory data**
3. On the Scan for Affected Data and Customizations page, click **Scan for State and Country/Territory Data**.
4. Wait for an email that contains the results.
    
    Depending on the size and complexity of your organization, the results take anywhere between a few minutes and a few hours to generate.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/images/icon_note.png)
    
    Note The emails are sent from noreply@salesforce.com. They have the subject line, “Salesforce Address Data Scan” or “Salesforce Address Customization Scan.” If you don’t receive the emails, make sure that they weren’t caught in a spam filter.
5. Click the link in each email to go to a document that contains the report of affected data or customizations.
6. On the Document detail page, click **View file**.

#### See Also

- [Let Users Select States, Countries, and Territories from Picklists](https://help.salesforce.com/s/articleView?id=xcloud.admin_state_country_picklists_overview.htm&release=264.0.0&type=5 "State and country/territory picklists let users select states, countries and territories from predefined, standardized lists, instead of entering state and country/territory data into text fields. State and country/territory picklists offer faster and easier data entry. They help to ensure cleaner data that can be harnessed for other uses—in reports and dashboards, for example. They protect data integrity by preventing typos, alternate spellings, and junk data—even in records updated through the API.")