Custom fields for addresses

If your Salesforce object uses regular custom fields to store the address rather than employing standard Salesforce Address fields (including the new Custom Address Field) you will need to carry out some additional configuration to enable address validation of these fields. This is achieved through configuration of Touchpoints.

  1. Click on App Launcher. Type EDQ Global Settings in the Quick Find box, and select it.

  2. Select Touchpoints from the left-hand menu.

  3. Click the New button found in the top right to create a new Touchpoint configuration for your Salesforce object.

    New Touchpoint modal

  4. Set the Touchpoint type to Address and the Address type to Custom then select your Salesforce object from the first dropdown and give your touchpoint a useful name.

  5. You can then map each address element to a custom field of your choice.

    • The first mapped field is where our 5 field address validation component will show up in your layout. If the remaining mapped custom fields are present on the active layout, these will be hidden and instead appear as part of the address validation component.
    • Note that you can have 1, 2 or 3 street elements which can be configured by clicking the + icon next to the street field. Street 2 and Street 3 are optional.
    • Custom fields of type Text are supported for all address elements with fields of type Picklist also supported by the State/Province and Country elements.

Multiple street elements

Depending on the number of street custom fields used, the address lines in our API response will be applied in different ways and make use of the concatenation separator configured in the global settings:

  • Just Street element mapped: The 3 address lines in our API response will be applied to the single chosen street custom field, separated by the configured separator.
  • Street and Street 2 elements mapped: The first address line in our API response will be applied to the first street custom field. The second and third address lines will be applied to the second street custom field, separated by the configured separator.
  • Street, Street 2 and Street 3 elements mapped: The three address lines in our API response will be applied to the equivalent street custom field.