Configure the display of territory labels

A property controls how territory labels are displayed.

You can display territory labels to the right of the number in an E.164 phone number field by setting the system property or adding the dictionary attribute. This is useful if the territory selector choice list is turned off and you want the user to see the territory for the entered phone number.

Figure 1. E164 phone display territory labels
Phone display with the phone number +44 (0)1733 753363 and the territory label United Kingdom

Enabling territory labels also displays the phone territory in lists.

Add the following system property to display the territory label to the right of the number in an E.164 phone number.
Property Description
glide.phone_number_e164.display_territory_text Determines when an E.164 phone number field displays a territory label.
  • Type: string
  • Default value: read-only
  • Other possible values:
    • all: always displays the territory label.
    • national: displays the territory label only if the phone number is in local format.
    • read-only: displays the territory label in read-only mode, regardless of whether the number is in local or international format.
    • read-only-national: displays the territory label in read-only mode only if the number is in local format.
    • list: displays the territory label in a list.
    • list-national: displays the territory label in a list if the number is in national format.
    • none: does not display the territory label.
You can also add the following dictionary attribute to a specific field to override the system property:
Dictionary attribute Description
pn_display_territory_text Overrides the glide.phone_number_e164.display_territory_text property that defines when a phone number field displays a territory label. Available values are identical to those described above for the glide.phone_number_e164.display_territory_text property.
  • Type: string
  • Default value: read-only
  • Example:pn_display_territory_text=all