Variables collect and store data in Storyline 360. Variable references let you display that information anywhere in your course.
For example, let's say you ask learners for their names at the beginning of a course. (See Adding Data-Entry Fields.) You can then use variable references to personalize content with their names throughout the rest of the course. Just add a variable reference to any text box, caption, shape, or button.
Here's how to use variable references in Storyline:
- Variable references can be added to any text-based object, including text boxes, captions, shapes, tables, and buttons. Add a new object to hold the variable reference or select an existing object.
- Go to the Insert tab on the ribbon and click Reference.
- The References window will appear, listing the variables in your project. Select the Project tab in the upper left corner if you want to refer to a variable that you created. Select the Built-In tab to refer to a variable that's built into Storyline. You can use the search field to find what you're looking for. Then choose the variable you want to reference and click OK.
On the slide stage, variable references appear as the name of the variable with a percent sign (%) before and after it (except slide numbers, which appear as a number in a yellow box). When you preview or publish, variable references will be replaced with the actual values of the variables they represent.