You can set an expression to be the default value of an
attribute for an element.
About this task
To use an expression as the default value of
an attribute:
Procedure
- On the navigation bar, click .
- Select a module.
- Select an existing attribute by clicking its link, or add
a new attribute by clicking Add Attribute.
- In the Default value field, type =. The Evaluate Expression, Help, List
Business Rules options are displayed.
- To evaluate the expression before you save it, click Evaluate. A window with the result of your expression is displayed.
- Click OK.
Note: The attribute
value of all new elements will be an expression. You can edit the
expressions in the attributes lists of the element. You can also enter
a new expression, and enter a 'normal' attribute value.