...
| Code Block | ||||
|---|---|---|---|---|
| ||||
<attribute id="SelectedModelCode"> <selection> <optionsControllingLocationAttributeId fixed="Source">ModelCodeOptions</optionsControllingLocationAttributeId> </selection> </attribute> <attribute id="SelectedBinaryVersion"> <selection> <optionsControllingLocationAttributeId visible="false">BinaryVersionOptions</optionsControllingLocationAttributeId> <dependentLocationAttributeId>ModelCodeOptions</dependentLocationAttributeId> </selection> </attribute> |
After changing an optionsControllingLocationAttribute which has dependents, a reset is required. When trying to save a modifier or a what-if that is using modifiers, a popup will be shown.
Conditional selection
The conditional selection can be used to disable other attributes depending on which option is selected for an attribute. For example if option A is selected for a certain attribute X then attribute Y should be disabled and attribute Z should be enabled. If option B is selected then attribute Z should be disabled and attribute Y should be enabled. Below an example.
...