Example 1: Verify behavior of associated attributes
- Last UpdatedApr 22, 2025
- 3 minute read
Here, we examine how the selection of Choices and Options affects attributes that are associated with them. For an overview of how an Object Wizard behaves in Test mode, see About object wizard behavior in test mode.
Let's start by creating new attributes and associate them with Options.
-
Create four new attributes.
Name the attributes as follows:
-
DeviationAlarms
-
DeviationAlarmMajor
-
DeviationAlarmMinor
-
DeviationAlarmTuning
-
-
Highlight one of the Deviation Alarm Options (1), then select the corresponding attribute and drag it to the Associations pane (2). For example, with the DEVIATION ALARMS option highlighted in the Choices and Options pane, drag and drop the DeviationAlarms attribute to the Associations pane.
Make sure that the Trimming checkbox is selected in the Associations pane. See Object wizard trimming for additional information.

-
Repeat for the remaining Deviation Alarms with trimming enabled.
-
Create two more attributes: Attribute001 and Attribute002. We will leave these attributes unassociated with any particular Choice or Option. Since they are not a part of the Object Wizard, these attributes will be included in all objects that are derived from the template; these two attributes will not be trimmable.
-
To verify attribute behavior, select the Test button.
-
With no Object Wizard selections made, the attributes that are not associated with any Wizard Choices or Options (Attribute001 and Attribute002) are shown in the Attributes pane. Attributes associated with Choices or Options (DeviationAlarm attributes) are not shown.

-
Change the Wizard Mode to Advanced. This displays the DEVIATION ALARMS option (unchecked). Note that the associated DeviationAlarms attribute is not shown.

-
To display the DeviationAlarm attribute, set the DEVIATION ALARMS option to TRUE (checked). Continue setting the remaining Deviation Alarm options to TRUE. Note that as each Option is selected, its corresponding attribute is displayed.

-
Clearing an Option (setting it to FALSE) turns off the attribute.
Note: When configuring an instance from an Object Wizard, unused attributes that have trimming enabled are not propagated to the instance. Only attributes that are not associated with the Object Wizard, and attributes with trimming enabled that evaluate as required, are present in the instance after the instance is saved. Trimming does not occur until after an object is saved. Any configured overrides for trimmable attributes remain in memory until the user saves the instance.
-