Back Forward Constraints rules
Completing the New or Save As form

  1. About 
  2. New 
  3. Constraints 
  4. Pages & Classes 
  5. History 
  6. More... 

Create a constraints rule by selecting Constraints from the Decision category.

A constraints rule has two key parts:

Field

Description

Applies To

SmartPromptSelect a class for this rule. At runtime, a clipboard page of this class must be a top-level page. The properties to be constrained may be in this class (or in the class of an embedded page).

You cannot use a Rule-Declare-* class or any ancestor of the Rule-Declare- class (including @baseclass) here. You cannot use a class derived from the Code- or Embed- class here.

Purpose

Enter a name for this constraint, unique within the Applies To class. Begin the name with a letter and use only alphanumeric, ampersand, and dash characters.

No other rules explicitly reference this Purpose value. However, because of normal class inheritance, a constraints rule named MaximumLimit at one level in the class structure may override (and so prevent execution of) a constraints rule named MaximumLimit at a higher level in the class structure.

For general information on the New form, see Completing the new rule dialog box. For general information on the Save As form, see How to enter rule keys using Save As.

Rule resolution

When searching for constraints rules, the system:

.

Up About Constraints rules