Field Data Types
The following data types are allowed for custom fields. The Valid for column indicates attributes that can use the data type.
Data Type |
Explanation |
Valid for |
---|---|---|
Alpha Numeric |
|
Enumerations, MinLength, MaxLength |
Freeform Text | Includes alpha, numerals, spaces, and special characters. The FreeformTextRestriction element can be used to define minimum and maximum length or to define enumerations. | |
Text |
|
Enumerations, MinLength, MaxLength |
Decimal | Includes numerals and period. The DecimalRestriction element can be used to define minimum and maximum values. For example, 54.687 is valid. | |
Whole Number | Positive or negative whole number or zero. The WholeNumberRestriction element can be used to define minimum and maximum values. For example, 8756 is valid. |
MinValue, MaxValue |
Percentage |
Supports values that are whole number or decimals only. The "%" symbol should not be attached to the value. The data type indicates that this is a percentage value. The PercentageRestriction element can be used to define minimum and maximum values. For example, 10 or 10.20 are a valid values for this data type, while 10.20% is not valid. |
MinValue, MaxValue |
True/False | True or false | |
Email address |
Includes values conforming to email addresses. Supported values include:
|
|
URL |
Includes values conforming to a URL. Supported values include:
|
|
Date Formats |
|
|
|
Supports 4 digits for the year. |
|
|
Supports digits and "/" or "-" for the separator. For example, 01/2010 and 01-2010 represent January 2010 and are valid values for this data type. |
|
|
Support digits and "/" or "-" for the separator. For example, 20/01/2010 and 20-01-2010 represent 20th January 2010 and are valid values for this data type. |
|
|
Supports values confirming to day, month and year format along with time appended to it. For example 20/01/2010 18:50 and 20-01-2010 18:50 represents 6:50 PM of 20th January 2010 and are valid values for this data type. |
|
Time Formats |
|
|
|
Supports digits to represent minutes. |
|
|
Support values confirming to hour and minute in 24-hour format, where the separator is ":". For example, 18:50 represents 6:50 PM. |
|
|
Supports values confirming to hour, minute, second format in 24-hour format along with the time zone appended to it. The separator for the time is ":". For example, 18:50:55 GMT represents 6:50:55 PM in GMT. |
|