Configuration Hiding Rules
Overview
What are they?
Hiding attribute rules tell the system to hide select attributes when a pre-defined condition is satisfied. Like other rules, hidden attribute rules are made up of a condition and an action. The values of the attribute(s) selected as the condition attribute(s) determines the result of the condition, which when true triggers the hiding of the action attributes.
How do they work?
Using hidden attribute rules, you can reduce the number of flow rules needed for a configuration process. You can include different attribute types in a single flow rule and show one set of attributes in another, based on the same condition.
AJAX can be enabled for any constraint or hiding configuration rule. Unlike other rules, that are evaluated only if the attributes are set to auto update or if a user clicks the Update action, AJAX rules are evaluated and the action is performed instantly when a user changes any rule input. Input can be condition and action attributes or action inputs. AJAX rules are re-run when a user clicks the Update button.
AJAX hiding rules do not support hiding the tab when all attributes are hidden in it. Similarly, a tab that is hidden will not appear via AJAX if the user “unfires” the associated hiding rule. The user must perform an Update action to view/hide tabs. Also, if a required attribute is hidden through an AJAX rule, no validation error will be thrown on Update or invoke actions.
Best Practices and Tips
- AJAX Rules are supported on Search Flow and Model Configuration pages.
- AJAX rules are not supported for the default wizard.
- If an AJAX rule fails to evaluate properly, the action will be timed out in 2 minutes.
- The HTML structure has been modified and may not work well with any custom JavaScript on the page. Please validate upon upgrading to 11.1.
- AJAX Rule without SOAP/ Table Queries –AJAX rules are not recommended to be used on rules with a large amount of BML, SOAP calls, or table queries as it could adversely impact performance and hence, end user experience.
- AJAX Rule with fewer action attributes - AJAX rules update the page using JavaScript post page loads. Hence it is important that we limit the number of attributes being affected per AJAX.
- Group headers that are hidden on page load cannot be shown/hidden again via AJAX. While attribute in the group can be shown/hidden via an AJAX hiding rule, the group header will remain hidden until the user performs an Update action.
Administration Pages
| Item | Description |
|---|---|
|
1 |
The rule Actions menu provides the following functions:
|
|
2 |
The Basic Details section contains general information about the rule.
|
|
3 |
The When section is used to define the conditions that specify when a rule should run. There are three options: Always True, Simple, and Advanced. Always True: The rule will fire automatically, every time, because there are not any conditions to be met.
Add conditions to select the necessary condition attributes and define the conditional values.
The order in which the conditions are evaluated in are defined in the Add or change () to change grouping field.
|
|
4 |
The Then section is used to define actions (i.e. what will happen if the conditions are met). Select attributes and actions to hide. |
Administration
Complete the following steps to add or edit a Hiding Rule.
-
Navigate to the desired product level:
- All Product Families: Admin Home > Configurations
- Product Family: Admin Home > Configurations > Product Family
- Product Line: Admin Home > Configurations > Product Family > Product Line
- Model: Admin Home > Configurations > Product Family > Product Line > Model
- Click the Edit
icon for the desired level.
- Select Rules in the left navigation.
-
Create or edit a rule:
-
To create a new rule click + Rule.
-
To edit an existing rule, click on the desired rule.
-
-
Define or edit the Basic Details options:
- What is the rule type? Hiding.
- What is the rule name? Enter the name of the rule.
-
Variable Name: Enter a variable name for the rule. The Variable Name field populates automatically. The entry can be changed before saving, but after saving the value is read-only. Variable names can only contain alpha-numeric characters and underscores.
-
Description: If desired, enter a rule description.
Click the Summarize
icon to leverage generative AI to automatically produce human-readable summaries of rule logic, helping administrators quickly grasp the purpose and impact of rules without parsing complex expressions or condition sets.
- Ajax enabled for JET UI: When enabled, the rule will automatically run when conditions are met. The rule will run without refreshing the page or performing an action.
-
Set the Effective Start Date and Effective End Date to specify how long the rule will remain in the chosen status.
If no duration is specified, the rule maintains its status until an administrator changes it. -
Set the status:
- Active: Rule is fired when the condition is met.
- Internal: Rule is active only for FullAccess users; it is inactive for all other users.
- Inactive: Rule is not fired, even if the condition is met.
-
Set the Condition Type and add conditions in the What section.
Always True The rule fires automatically.-
If applicable, set Condition Type to Always True
-
No conditions are defined.
Simple Select attributes and define simple conditions.- Set Condition Type to Simple.
- To add a condition, click +Add Condition.
- Select an attribute from What is the attribute to associate to this condition?
- Set the Operator for the condition.
- Enter or select the Value.
- Click Create.
- Repeat this step to add additional conditions.
- Click the Delete
icon to remove a condition.
- Set the match criteria:
- Match All if all of the conditions must be met.
- Match Any if any condition needs to be met.
- Click in the Add or change () to grouping field to define custom grouping.
For example,(1 OR 2) AND 3 - Select Convert to Advanced Condition to convert the simple condition to an advanced condition.
Advanced Use the function editor to select attributes and define advanced conditions.- Set Condition Type to Advanced.
- Click Define BML Function.
- Enter the Function Script.
- Click Save.
-
-
Define actions in the Then section.
- Choose What should the rule be applied to: Configuration, Selection, or Both
- Add an attribute or action to hide:
- Click + Hide Attributes or Actions.
Select an attribute or action from What is the Attribute or Action to hide?
Click Create.
-
Click the Delete
icon to remove an attribute or action.
-
To add translations, select Translations from the Actions menu.
-
Click Create or Save.
Warning: Deleted rules cannot be recovered.
Complete the following steps to delete a configuration rule.
-
Navigate to the desired product level:
- All Product Families: Admin Home > Configurations
- Product Family: Admin Home > Configurations > Product Family
- Product Line: Admin Home > Configurations > Product Family > Product Line
- Model: Admin Home > Configurations > Product Family > Product Line > Model
- Click the Edit
icon for the desired item.
- Select Rules in the left navigation.
- Right click on the configuration rule's actions ellipsis, then select Delete.
- Click Delete in the confirmation dialog.





