Skip to main content
Skip table of contents

How To Use Phone, Email and Percentage Data Types in Data Models

In Eccentex AppBase, you can add various data types to your Master Data Management (MDM) Data Model, including Phone, Email, and Percentage. These data types allow you to capture specific information and provide a more structured representation of your data. Adding these data types involves configuring the Form, Search, and Detail Page builders.

To add the Phone data type, you would navigate to the MDM Data Model configuration and create a new attribute with the data type set to "Phone." This attribute can then be included in the Form builder, allowing users to input phone numbers in a standardized format. Additionally, it can be displayed in the Detail Page builder, enabling users to view phone numbers associated with specific records. The Search builder can also utilize the Phone attribute, enabling users to search for records based on phone numbers.

Similarly, you can add the Email data type to the MDM Data Model. By creating an attribute with the data type set to "Email," you can capture email addresses in a structured manner. This attribute can be added to the Form builder for users to input email addresses, displayed in the Detail Page builder for viewing, and used in the Search builder for searching based on email addresses.

The Percentage data type allows you to store and manipulate percentage values. To add this data type, you would create an attribute with the data type set to "Percentage" in the MDM Data Model configuration. The Form builder can include this attribute to capture percentage values, while the Detail Page builder can display the percentage values associated with specific records. Additionally, the Search builder can utilize the Percentage attribute to allow users to search for records based on percentage values.

By incorporating Phone, Email, and Percentage data types into your MDM Data Model and configuring the Form, Search, and Detail Page builders accordingly, you can effectively capture, display, and search for specific types of information within your Eccentex AppBase application.


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%


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.