Create an Address Label Field¶
Overview¶
Postal conventions differ between countries: what goes on each line, where the postal code sits, and whether the country name is needed at all. The address label is the address laid out correctly for the country it belongs to, returned as a single block of text ready to print on an envelope or a document.
The field is optional. Create it if you send physical mail or produce documents that show a formatted address.
Step 1: Create the Field¶
- Navigate to Setup > Object Manager.
- Select the object, then select Fields & Relationships.
- Click New.
- Choose Text Area (Long) as the data type and click Next.
- Enter a Field Label naming the address it belongs to, for example
Mailing Address Label. - Leave Length at its default value.
- Set # Visible Lines to
5. - Click Next.
- Provide visibility to all the users who will be verifying addresses, then click Next.
- Add the field to the page layouts where you want the label visible, then click Save.
Step 2: Map it on the Address Block¶
- Click the App Launcher to search for and select AddressTools Administration.
- Select Address Blocks from the left menu.
- Open the block for this address by using the dropdown to select Edit.
- In the Additional Address Fields section, set Address Label to the field you just created.
- Click Save.
Note: The label reflects the address as verified rather than as originally entered, so we recommend making it read-only for your users. Editing the individual address fields and re-verifying will overwrite it.
When the Label Is Written¶
The address label is returned with the rest of the address fields, so it is automatically populated when verification returns a status of Verified or Parsed but not found. If verification cannot match the address, the address label field is left as it was. You can manually edit this field yourself and re-verifying a different address will overwrite it automatically.
The address label field is populated by address verification, so to fully enable this follow the setup steps in Verification.