Applicable Version: Applies to all
Variable Snippets allows content authors to reuse sets of variables previously created. These snippets can be created from both Global variables and variables within questions. The function will copy the set of variables and allow them to be used in other sections, curricula, etc.
Steps:
Create a snippet
- Click on Create snippet below
your variables.
- A new window will open.
- In the field for Label, provide a recognizable label, otherwise the system will provide a label.
- Then click on Save
To insert the variable snippet
A. If you want to place variables
into a question
-
Access the question.
-
Scroll down to the Variables
area and click on Insert snippet.
-
A new window opens, in the
dropdown for Available snippets select the required snippet.
-
Click on Load
B. If you want to place variables
into your global variables and provide a prefix to ensure the variables are
unique
-
Open your global variables by
click on the Global variables button .
-
Click New under Groups of
variables.
-
Click on Insert snippet
-
A new window opens, in the
dropdown for Available snippets select the required snippet.
-
In the field for Add a prefix
to the variable name, type a prefix (e.g. W).
- Click on Load.
a)