Defining Attributes Constraints
Constraints Tab
Constraints allow you to limit the values of an attribute. The Constraints tab on the attribute information page allows you to view and edit the constraints for the attribute.
There are three types of constraints:
Modeled—Modeled constraints are inherent to the attribute out-of-the box, and cannot be edited, deleted, or disabled.
New—New constraints are constraints which were added to an attribute in the context of the currently viewed type.
Inherited—Inherited constraints are modeled or new constraints on an attribute that are inherited from a parent type. You cannot edit or delete an Inherited constraint, but you can disable it if it is not modeled.
* 
Constraints cannot be added to translated text attributes.
Constraints are displayed in a table, grouped by the type of constraint (New, Inherited, or Modeled). The following table lists and describes the columns displayed in the Constraints table:
Column Name
Description
Rule
The type of constraint. For a list of constraint rules, see Attribute Constraint Rules.
Data
The additional data, if any, that defines the constraint behavior.
Condition
If one or more conditions are defined for the constraint, the Edit Conditions link appears in this column, and the defined constraints display in a tooltip for the Edit Conditions link.
If no conditions have been defined for the constraint, the Add Conditions link appears in this column.
Enable?
This checkbox determines whether the constraint is enabled. If this checkbox is cleared, the constraint remains defined, but is not active on the attribute.
* 
Only New and Inherited constraints can be disabled. Modeled constraints cannot be disabled.
From the Constraints tab, you can:
這是否有幫助?