1.5 - Applicative Rules
Introduction
Some behaviors can be configured using applicative rules.
You can learn how to create and associate the rules to your application distribution here. 🔗
Rules
This is the list of supported applicative rules.
EditPanelParameterRule
This rule has an impact on the parameters displayed in the edit panel, where you can configure your products. The default behavior for parameter visibility is explained here. 🔗
If you want to change it, you can use this rule. It allows you to disable the automatic parameter hiding entirely, or only for some specific parameters.
| Rule Name | Rule Parameters |
|---|---|
| EditPanelParameterRule | The list of parameter ids to always display, and a boolean to disable this behavior for all parameters. See the example below. |
{
"forceDisplayParameters": [
"exampleParameterId"
],
"forceDisplayAllParameters": false
}
ExpiredProductsRule
This rule has an impact on help center reports. Products will be reported to the user in the help center if:
- This rule exists and is linked to your application distribution.
- An expired product is loaded on a parameter, or the main product itself is expired.
See the HelpCenter documentation.
| Rule Name | Rule Parameters |
|---|---|
| ExpiredProductsRule | None |
As of now, the Help Center Report is not yet displayed in the Product Configurator application. It's only accessible for the developers integrating it.
MappingSortingRule
This rule has an impact on product mappings. If you have product mappings on your products that make use of the priorities between mappings, you have to create this rule and add it to your application distribution.
| Rule Name | Rule Parameters |
|---|---|
| MappingSortingRule | None |
ParameterBOMRule
This rule has an impact on the BOM. The parameters listed in the rule will be added to the BOM for every product.
See the BOM description to know how the parameters are displayed in the BOM.
| Rule Name | Rule Parameters |
|---|---|
| ParameterBOMRule | The list of parameter ids to display in the BOM, and a boolean to display detailed products. See the example below. |
{
"includeProductDetails": true,
"parameters": [
"finish",
"leg"
]
}