Skip to content

Assign attribute value constraint to attribute

After the new attribute value constraint is added to your Object Browser, you can assign this constraint to one or more attributes.

  1. In the Diagram, select the relevant attribute: those that need validation.
  2. Right Mouse click: Properties. The Column Properties window appears.
  3. Go to the tab Rules.
  4. Click on Add Objects. Add objects
  5. From the tab Attribute Value Constraints select the Rule you want to assign. Add objects
  6. You see the rule is added. Press OK when finished. Rule added

Tip

If you want to use regular expressions to validate values, you need to add a .NET function to provide access to regular expressions (regex). For using regular expressions, first validate the query through regex101.