Introduction
Expressions are conditions that determine how forms and other parts of the application behave. They can set visibility, enable controls, validate constraints, etc.
Prerequisites
The attributes, logical rule, scalar query and a condition you are using must already exist.
|
Quick Steps |
| 1 |
Open the entity, then open the Conditions section. |
| 2 |
Open the Expression section in the Default group, then add a new expression |
| 3 |
Enter the details, then click OK |
| 4 |
Add a new group, |
| 5 |
Enter the expression details |
| 6 |
Configure the other expression properties |
| 7 |
Save the Entity |
Detailed Steps
Step 1. Open the entity, then open the Conditions section.
In this example, it is the entOrder.
Step 2. Open the Expression section in the Default group, then add a new expression.
This is where the entity manages its expressions. Click the + icon to add an expression.
Step 3. Enter the details, then click OK.
The important properties are:
- Select/Add Group Name: Specifies the group to which the expression belongs. Every expression must belong to a group. If no appropriate group for your expression exists, you have to create one by entering its name. In this example, the Default group is selected.
- Name(ID): A descriptive name given to your expression.
- Access Modifier: Specifies the level of accessibility of the expression. The options are:
-
- Public: Any entity can access this expression.
- Private: Only this entity can access this expression.
- Protected: This entity and any child entity can access this expression.
- Description: Optionally, you can enter a short description for your expression.
You can cut, copy or paste a condition from one group to another, if needed.
Step 4. Add a new group.
If your expression has a combination of conditions, you can nest these with groups. Select the condition and click the Add Group button to add the group at selected level.
If your expression has a single condition, you can select the condition and click the Add Condition button to add a new condition.