Date Model Elements
The Registry Telephone Number data model consists of several fields: Country Code, Area Code, Number, and Extension. While this allows for structured data collection and rendering, some deployers may find it preferable to limit collection to a single, unstructured field. This can be accomplished by limiting the Permitted Fields to Number.
Permitted Fields
It is possible to set which Telephone Number fields are permitted via Configuration > CO Settings. These settings apply to Telephone Number collection in all contexts.
Default Telephone Number Type
When adding a new Telephone Number via the UI, it is possible to set the default value for the Telephone Number type via Configuration > CO Settings.
Formatted Telephone Number
When required by the application, a Formatted Telephone NUmber is constructed from the populated fields. The formatted string is constructed by concatenating non-empty values of the address fields, in order, with each value separated by a space. If set, the Country Code is prefixed with a +
. If set, the Extension is prefixed with the localized value of field::TelephoneNumbers.number.ext
, which defaults to x
. Special characters such as dashes or parentheses that may have been entered into these fields are left untouched.
+1 212 555-1212 x42
See Also
Changes From Earlier Versions
As of Registry v5.0.0
- TelephoneNumber can be attached directly to Person.