Skip to content

Standardised Schema

Seth edited this page Mar 8, 2017 · 8 revisions

If you would like to use a merge or cascade locator with the Drilldown widget then you will need to set them up using a standardised schema that matches one of the supported locator types. It will also work with any other locator as long as you set it up in a merge locator using the fields from a locator below.

E.g. you could set up an AddressBase Basic locator in a merge locator, with no other locators present, and set up the schema to use the AddressBase DPA fields.

Below are the required fields for each locator type, you can set up your standardised schema using one set of these fields.

Locator Fields
AddressBase Premium STREET_DESCRIPTION
LOCALITY
TOWN_NAME
ADMINISTRATIVE_AREA
PAO_TEXT
PAO_END_SUFFIX
PAO_END_NUMBER
PAO_START_SUFFIX
PAO_START_NUMBER
SAO_TEXT
SAO_START_NUMBER
SAO_START_SUFFIX
SAO_END_NUMBER
SAO_END_SUFFIX
AddressBase Premium DPA DPA_DEP_THOROUGHFARE
DPA_THOROUGHFARE
DPA_DEP_LOCALITY
DPA_DBL_DEP_LOCALITY
DPA_POST_TOWN
DPA_BUILDING_NAME
DPA_BUILDING_NUMBER
DPA_SUB_BUILDING_NAME
LLPG STREET_DESCRIPTOR
LOCALITY_NAME
TOWN_NAME
ADMINISTRATIVE_AREA
PAO_TEXT
PAO_END_SUFFIX
PAO_END_NUMBER
PAO_START_SUFFIX
PAO_START_NUMBER
SAO_TEXT
SAO_START_NUMBER
SAO_START_SUFFIX
SAO_END_NUMBER
SAO_END_SUFFIX
GMS STREET_NAME
LOCALITY_NAME
TOWN_NAME
COUNTY_NAME
PAO_TEXT
PAO_END_SFX
PAO_END_NO
PAO_START_SFX
PAO_START_NO
SAO_TEXT
SAO_START_NO
SAO_START_SFX
SAO_END_NO
SAO_END_SFX
OSG STREET_DESCRIPTOR
LOCALITY_NAME
TOWN_NAME
ADMINISTRATIVE_AREA
PAO_TEXT
PAO_END_SUFFIX
PAO_END_NUMBER
PAO_START_SUFFIX
PAO_START_NUMBER
SAO_TEXT
SAO_START_NUMBER
SAO_START_SUFFIX
SAO_END_NUMBER
SAO_END_SUFFIX

When using a merge or cascade locator with the Drilldown widget add it in using the corresponding locator type so that the fields match up correctly.

E.g. if you have set up your standardised schema to match the LLPG locator fields then when you use this with the Drilldown you would set it up to be an LLPG locator, using either the LLPGLocator class for a standard JavaScript application or setting the locator type to be “LLPG” when using it with the Web AppBuilder.