Forum Discussion
Pass Variables Between Lessons
Hi,
I am new to e-learning and am wondering how to pass variables between lessons in my LMS.
My course layout:
- Students take an assessment at beginning of course
- Depending on outcome of above, students are driven to different parts of the course
My primary concern is not being able to properly guide students. This is easy to manage when everything is in one story but that's not feasible as my story is too large.
Suggestions appreciated!
Thanks in advance,
Suzanne
22 Replies
- AngelaNicholasCommunity Member
I have a similar use case where I need to pass variable info from one .story file to another in Storyline 360 (both within a LMS and without) and would be interested in any solutions. Thanks!
- JosephBaiocc082Community Member
Not a perfect solution, but you can use the learner's browser cache (via JS localStorage) to store variables (with the learner's knowledge/permission) that can be accessed by another published SL file.
This allows you to talk between files. However, in the interests of security, I would not allow user-inputted text variables to be passed between files. Only variables the learner can't manipulate.
It's also important to let the learner know that clearing their cache will delete their stored info.
Related Content
- 10 months ago
- 12 months ago
- 12 months ago
- 12 months ago
- 12 months ago