-
To create an expression rule, from the page toolbar, select
Create Expression Rule
.
-
In the new rule row, click
.
The expression rule editor opens.
-
Click in the editor or click
Open Dictionary
to open the variant/option group dictionary.
The available variants, variant values, option groups,
options, operators, and statements that you can use to define the expression
rule are listed.
-
Specify the variants and options to be included in the expression
rule in one of the following ways:
- Click in the editor, then select a variant, variant value,
option, option group, operator, or statement from the list. You can begin
entering characters to filter the list to include only those items that contain
those characters.
- Click
to the right of the variant, variant value, option, or
option group name in the dictionary to add it to the editor at the insertion
point or at the end of the expression if there is no insertion point. You can
click
then begin entering characters in the
Search field to filter the list to only
those items that contain those characters.
- Select an item in the dictionary, then drag it into the
editor and drop it in the expression. The cursor changes from
to
to indicate where the item can be added to the expression.
-
From the editor list, select the standard operators and statements
to be included in the expression.
The following standard operators are available:
The following statements are available:
Note:
Any element in the expression that is not valid in that context
is displayed in red. Roll over the element for a message that explains why it
is not valid.
-
To remove a feature, option, operator, or statement from the
expression, select it, then click
.
-
Verify the validity of the expression as you build it.
Note:
Any element in the expression that is not valid in that context
is displayed in red. Roll over the element for a message that explains why it
is not valid.
-
Click
OK to save it when you have specified all of
the variants, variant values, option groups, options, and operators in the
expression rule.
The expression rule is saved. You can edit its title and
description on its
Properties page. For more information, see
Editing Expression Rule Properties