Hiding Attributes Conditionally
Attribute-Based Configuration allows you to create the dependency for the target attribute to either make the attribute conditionally visible or hide the attribute based on other selections. This helps to provide only relevant sets of attributes for the user to make selections, thus providing a guided experience for configuration.
The following table displays the data types on which you can perform this action and the value of Value Expression required.
Action | Datatypes supported | Value Expression |
Make Hidden | Number Text Picklist Multi-picklist |
For example, Amttus, a leading laptop manufacturer, wants to use the attributes to drive the product selection of their users. A laptop has five attributes: Color, HDD, RAM, Screen Size, and Fingerprint Reader. The following table describes the products and attributes.
Product | A-560 | A-560m | A-440 | A-440m | A-320 | A-320m |
---|---|---|---|---|---|---|
Color | Black | Black | White | White | Black | White |
HDD | 1 TB | 2 TB | 500 MB | 500 MB | 1 TB | 1 TB |
RAM | 8 | 16 | 4 | 8 | 8 | 16 |
Screen Size | 14 HD | 14 HD | 15 | 15 HD | 14 | 14 HD |
Fingerprint Reader | Yes | Yes | Yes | Yes | No | Yes |
The following table describes scenarios where you can use this feature.
Scenario | Target Attribute | Value Expression |
---|---|---|
When the user selects 4 from RAM, you want to hide the Screen Size attribute. | Screen Size | |
When the user selects Black from Color and 1 TB from HDD, you want to hide the RAM attribute. | RAM |