How To Use Phone, Email and Percentage Data Types in Data Models
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 Type | Default Properties | Search Type | AppBase Data Type |
---|---|---|---|
Phone |
| like (default) | Phone |
| equal (default) like | ||
Percentage |
| equal (default) | Number |
Phone Data Type
This field has the following settings in the Form Builder.
Setting | Note | Setup | Runtime View |
---|---|---|---|
Use mask | There are two options:
| ||
Use validation | There is one option:
| ||
Preferred countries | The user could select the countries at the top of the country dropdown. | ||
Only preferred countries | Only preferred countries will be available. | ||
Default country | The user could be able to select a default country. |
The phone Data Type has the following settings in the Search Builder.
Setting | Note | Setup | Runtime View |
---|---|---|---|
Phone display option | There are three options:
| ||
![]() | ![]() | ||
![]() | ![]() | ||
Phone on-click behavior | There are two options:
| ![]() |
The phone Data Type has the following settings in the Detail Page Builder.
Setting | Note | Setup | Runtime View |
---|---|---|---|
Phone display option | There are three options:
| ||
Phone on-click behavior | There are two options:
|
Email Data Type
The email Data Type has the same settings in Search and Detail Page Builders.
Setting | Description | Runtime View |
---|---|---|
Render email icon | Render or not email icon | |
Email on-click behavior | There are three options:
| |
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%