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
- PhilMayorSuper Hero
The javascript saving to a database would work.
I can see what you are hoping to happen, but keeping the same course ID even with the same structure is likely going to cause data to be overwritten, you will only ever have data for one half of the course, each time you close the course it will overwrite the previous data, I cannot see this working.
the most reliable solution would be to save to a database and then retrieve from the database when you need it
- PrabuSamiveluCommunity Member
Hi Phil,
Can you pls provide some sample code to connect to the LRS and get the variable data back , This will be very helpful
Regards
Prabu
- NeilChandaranaCommunity Member
Hi Phil,
OK interesting thoughts. Even if we were to implement JavaScript I am under the impression that the Articulate Mobile Player App does not currently support JavaScript is this still the case as per the thread below:
http://community.articulate.com/forums/t/13231.aspx
I appreciate a later release of the app has now come out for ios7 are you aware if it supports JavaScript.
My point is even if we were to go down this route we need to be able to support the IPAD app as well including passing variables from one course to another.
Additionally are you aware were we would need to implement the JavaScript. Would we implement it in the course itself, or edit the published files once we publish the course. Are you aware of how we could do this?
Please get back to me when you can, this would be much appreciated.
Many Thanks
Neil Chandarana
- PhilMayorSuper Hero
I would add the javascript as a trigger in Storyline, but this will not support the iPad App, the new release does not support javascript.
You could only use the html5 content on the iPad, I cannot think of a solution that would work and include the iPad app.
It would be interesting to hear if your homegrown solution bears any fruit
- johnfaulkesCommunity Member
Neil, please do get in touch - I have sent you a PM with my email address.
- NeilChandaranaCommunity Member
Hi John,
I have emailed you directly, I look forward to hearing from you soon.
Many Thanks
Neil Chandarana
- MonicaJackson-3Community Member
I know this is an old thread. However, I'm wondering if this is still the best and only way to pass a variable from one Storyline file to another. If anyone has updates, recommendations and suggestions, please chime in. Thanks!
- LolkeClaassenCommunity Member
Hi. I am also curious how to implement this solution. Thanks!
- LestonDrakeCommunity Member
Ditto the above comments and requests for an update on ways to pass variable info from one .story file to another in Storyline 360.
- KiruthikaCuricCommunity Member
Hi everyone, I am also stuck with the same issue. Any available sample codeS?
Related Content
- 10 months ago
- 12 months ago
- 12 months ago
- 12 months ago
- 12 months ago