A Number Constraint is a numeric range that is specified using a Minimum, Maximum, and Interval. It is represented in the UI as using a spinner control.
Numeric Constraint Properties
Property |
Description |
Name |
A symbolic name used to globally represent this constraint in the system. This will appear in pull-down lists where constraint names are selected. |
Minimum Value |
The lowest number that a user will be permitted to enter. |
Maximum Value |
The highest number that a user will be permitted to enter. |
Interval |
Determines how to increment/decrement the value when using a spinner control. |
Types of Minimum and Maximum Values
There are several options for how Minimum and Maximum values are specified. These options are presented under the Type property:
Type Option |
Description |
Derived |
Derives the Minimum or Maximum value from an existing dataset. This approach requires some additional configuration (see Derived Numeric Values below). |
Static |
Derives the Minimum or Maximum value from an existing dataset. This approach requires some additional configuration (see Derived Numeric Values below). |
Unbounded |
Removes the Minimum and Maximum concept altogether, restricting the user to just any numeric value. |
Derived Numeric Values
Derived Properties |
Description |
Dataset |
Select an existing dataset in the system to derive the Minimum or Maximum value from. Values will appear in a pull-down list. |
Attribute |
This property works in conjunction with the Dataset, letting you select an Attribute from that dataset to derive the value from. |
Value |
This property is a read only preview. It shows you what the Minimum or Maximum value from the selected Attribute is, at that point in time. Because you are deriving this value from live data, the value shown can change depending on how the data is filtered. |