Improve address data accuracy and the end-user experience with Custom Address Fields.
Users can populate a custom address field manually or they can use the Google lookup to
search for an address. Admins and APIs can access each address stored in a custom address
field as a structured compound data type as well as individual address
components.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: all editions |
Use the Address field type to create custom fields that store address data in a structured,
compound-data type. Compound fields are an abstraction that can simplify application code that
handles the values, leading to more concise, understandable code. With Custom Address Fields,
custom addresses are accessible as a single, structured field or as individual component
fields. Users can edit the custom address field data in records and view custom address data
in list views and reports.
- Considerations for Custom Address Fields
Before you enable custom address fields, configure State and Country/Territory picklists and review these considerations.
- Enable Custom Address Fields
After you review the feature limitations and configure the State and Country/Territory picklists, enable custom address fields. Then you can add custom fields to standard and custom objects in Object Manager using the compound Address field type.
- Create a Custom Address Field
Use the Address field type to create a custom address field that mimics the behavior of standard address fields. For example, add a Warehouse Address field to a standard or custom object. Users can populate a custom address field manually, or they can use the Google lookup to search for an address. Then you can access each address that’s stored in a custom address field, either as a structured compound data type or as individual address components.