Managing Attribute Rules
You can launch the Edit Definition tab either by selecting Edit Design Context Definition from the actions menu on the information page of design context (or by selecting the Edit tab from the Model Structure Report of a design context.) Using the Edit Definition tab of a design context, you are able to manage attribute-based rules that can specify what members to include or exclude in the design context definition.
1. Select Manage Rules from the Attribute Rules toolbar action group. The Manage Rules window opens, and the Attribute Query Expression window opens in front of it.
2. In the Attribute Query Expression window, select a criterion for your rule from the Criteria field menu. The criterion appears in the list area lower down, followed by an operand field (allowing you to select either “equals,” “does not equal,” or “Not set” as operands. In the right-most field of the list area, select one of the values offered for the criterion you have chosen for your rule.
3. Select an action for the rule (specifying the level of representation, or to exclude) from the Action field:
Exclude
Design Mode
Visualization Mode
4. Click Apply or OK to enter your specified rule in the Manage Rules window list. (Clicking Apply allows you to add additional attribute rules and leaves the Attribute Query Expression window open.) After you click Apply or OK, the rules are applied. Click Close to dismiss the Manage Rules window.
* 
You can create multiple rules prior to clicking Apply or OK in the Attribute Query Expression window. You can also delete any rule by clicking its delete icon .
5. Once you have created an attribute rule and it appears in the Manage Rules window, you can add more rules, edit existing rules, or remove existing rules:
Click Add to call the Attribute Query Expression window, to create a new rule.
Select an existing rule and click Edit to call the Attribute Query Expression window, populated with the selected rule, ready for your editing.
Select an existing rule and click Remove to remove the rule from the Manage Rules listing.
Isto foi útil?