Skip to main content

Dynamic content (Part 1)

This article will help you to create dynamic lesson or quiz

Mary avatar
Written by Mary
Updated over 11 months ago

Dynamic content helps to personalize the course for the learners depending on specific parameters (variables), such as department, position, city, etc.

Follow this instruction to create a dynamic lesson or quiz:

Step 1. Define the values of the variables

First of all, define the values of the variables. There are three ways to do it:

  1. Using API function setLessonVariables: https://academyocean.com/api#setLessonVariables

  2. The learners can choose the value themselves in the Welcome Pop-Up: https://app.academyocean.com/account/settings/visual/welcome-pop-up

  3. Also, the values of the variables can be based on the learner's answers in the quiz. Click on three dots in the question to Associate variable (available for One Choice, Written Answer and Yes/No). After that, the answer options will become the values of the selected variable

It is possible to Override answer with variable. Then, when a learner chooses this answer option, a different variable value will be assigned


Step 2. Make the lesson/quiz dynamic

1. Click on the three dots next to the lesson, and choose Dynamic content option

2. Turn on toggle

3. Select variable, condition and value. It is possible to add multiple conditions using Add condition + button

= condition means that the lesson will be shown

โ‰  condition means that the lesson will be hidden

4. Save the changes


After that, the lesson will be accessible/hidden for the learners assigned a specific value

Did this answer your question?