This article shows how to add Phone, Email, and Percentage data types in MDM Data Model and how to set a Form, Search, and Detail Page builders.


General Settings

The table below describes the default properties for these data types:

MDM Data TypeDefault PropertiesSearch TypeAppBase Data Type
Phone
  • Max Length: 255

like (default)
equal
start with
end with

Phone
Email
  • Max Length: 255
equal (default)
like
Email
Percentage
  • Min Value: 0
  • Max Value: 100
  • Precision: 5
  • Scale: 2
equal (default)Number

Phone Data Type

This field has the following settings in the Form Builder.

SettingNoteSetupRuntime View
Use maskThere are two options:
  • No mask (default)
  • Show mask



Use validationThere is one option:
  • No validation (default)
  • Validate (default)


Preferred countriesThe user could select the countries at the top of the country dropdown.



Only preferred countriesOnly preferred countries will be available.

Default countryThe user could be able to select a default country.

The phone Data Type has the following settings in the Search Builder.

SettingNoteSetupRuntime View
Phone display option

There are three options:

  • Phone number and icon (default)
  • Phone number only
  • Phone number and call button (if 'Browser phone link' is selected)



Phone on-click behavior

There are two options:

  • Do nothing (default)
  • Browser phone link




The phone Data Type has the following settings in the Detail Page Builder.

SettingNoteSetupRuntime View
Phone display option

There are three options:

  • Phone number and icon (default)
  • Phone number only
  • Phone number and call button (if 'Browser phone link' is selected)

Phone on-click behavior

There are two options:

  • Do nothing
  • Browser phone link (default)

Email Data Type

The email Data Type has the same settings in Search and Detail Page Builders.

SettingDescriptionRuntime View
Render email iconRender or not email icon

Email on-click behavior

There are three options:

  • Do nothing (default)
  • Browser email link
  • Open DCM Send Email

Percentage Data Type

The percentage data type has the same settings as for Number data type with a floating-point. Users can set Min, Max, Precision, and Scale values.

The difference is the '%' symbol in the renderer.

Examples: -6%, 0.743%, 146%