Loading
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

How to update a custom address field with Data Loader

게시 일자: Aug 31, 2026
상세 설명

When updating the "Country/Territory" or "State/Province" of a custom address field in Salesforce with Data Loader, you must specify the "Country/Territory Code" and "State Code," respectively.

For example, the input CSV for updating records with Data Loader requires the following format:

`(CustomAddressFieldAPIName)__CountryCode__s, (CustomAddressFieldAPIName)__StateCode__s
"JP", "13"`

This code block sets the country to Japan and the state to Tokyo using their respective codes.

Note: JP is the code for Japan, and 13 is the code for Tokyo.
Note: `CountryCode__s` is the custom address field's Country/Territory code, and `StateCode__s` is its State/Province (State Code).

The Resolution below explains how to look up the "Country/Territory Codes" and "State Codes" to set in your input CSV.

솔루션

This article answers the question: what values do I use for Country/Territory and State/Province when updating a custom address field with Data Loader?

How to Find Country/Territory and State Codes

  1. Click the [Gear Icon] in the upper-right corner | [Setup].

  2. In the "Quick Find" box, click [State and Country/Territory Picklists].

  3. Click [Configure States, Countries, and Territories].

  4. Here you can see the "Country/Territory Code" for each country.

    • For example, the code for Japan is "JP".

  5. Click [Edit] for the country whose state codes you want to find.

  6. Here you can see the "State Code" for each state/prefecture.

    • For example, the code for Tokyo is "13".

Knowledge 기사 번호

004924092

 
로드 중
Salesforce Help | Article