Share Variable Options
Variable Options can be shared amongst variables via the Option Reference field in the Variable/Attribute Types page. This means that you can assign options to one variable (the "source") and then assign this variable in the Option Reference field in other variables. Therefore, when any of the variables are used, either the "source" or ones with the "source" assignment, all of the options are available for selection in the Input field on the checklist line.
Note
The sorting of the variable options must be defined in the Option Order field in order for the options to be displayed in the Input field.
If the Option Reference field is populated for a variable, then options cannot be assigned to that variable. Conversely, if options exist for a variable, then the Option Reference field cannot be populated.
Additionally, you can assign a variable with the "source" assignment to another variable, which will access the source options.
Any variable option allocations made are used in all shared options.
Example
In the following video, four COLOR variables have been created (COLOR, COLOR2, COLOR3, and COLOR4). On the COLOR variable, four colors have been assigned as options (Blue, Green, Red, and Yellow) but are set for sorting by Red, Green, Blue, and Yellow when opened from the Input field on the checklist line. Each color option has a power value allocated: Blue = 90, Green = 95, Red = 100, and Yellow = 85.
The COLOR variable is assigned to the COLOR2 and COLOR3 variables in the Option Reference field. The COLOR3 variable is assigned to the COLOR4 variable, which will use the COLOR variable assigned to COLOR3.
To check the assignment rules, the Options are opened for the COLOR4 variable and an entry for "Purple" is added. An error is shown because an Option Reference exists. Then another variable is assigned to the COLOR variable, and an error is shown because options exist for the variable.
A checklist template has been set up with lines for selecting a color. The final line will show the POWER allocation from the last selected color. This means that if the first color selected is BLUE, then the POWER value will be 90. If RED is selected, then the POWER value will be 100. If BLUE is selected again, it will change to 90, and so on.
The first color selected for the COLOR variable is BLUE and the POWER value is set to 90. The next color selected is for the COLOR2 variable, which opens the list of options from the COLOR variable. RED is selected and the POWER value is set to 100.
The next color selected is for the COLOR3 variable, which opens the list of options from the COLOR variable. YELLOW is selected and the POWER value is set to 85.
The final color is for the COLOR4 variable, which opens the list of options from the COLOR variable, assigned to the COLOR3 variable. BLUE is selected again and the POWER value is set to 90.
Feedback
Submit feedback for this page .