Adding Conditional Display Options

You may not want to show all of the attributes on the configuration screen initially. Some may be dependent on others being set, and others may have to be added sequentially so that you don’t have gaps in the configuration attributes. You can do this through the product configurators conditional rules that allow you to show and hide attributes based on conditions.

NOTE: This is part of the Building Dynamic Products with the Product Configurator blueprint series where we show how to configure product configuration models within Dynamics AX, and use them to create dynamics BOM’s and Routes based on the configurations. If you want to see all of the other posts in this series, click here.

How to do it…

To add conditional display options, follow these steps:

  1. Open the Product configuration model maintenance form and expand the Attributes panel. Select the Attribute that you want to add conditional display rules for.
  2. To hide the attribute, check the Hidden check box.
  3. To make the display conditional, add a rule in the Condition field.
    Note: In this example, we are going to hide the Port2 attribute when the value in Port1 equals (==) “None”.

How it works…

To see it in action by clicking on the Test button in the Run group of the Model ribbon bar. Notice that the Port2 attribute is initially hidden.

When we select a value for the port then the Port2 attribute is displayed.

We can add more conditional rules on when to hide and display the attributes. When we test the configuration display now, we don’t see all of the other attributes initially. As we select the values, then only the new attribute options are shown.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: