TextEntry and Avatar Across Different Storyline Files -- Is this possible?

Mar 30, 2021

Hi, 

We're trying to revamp our existing template and one of the plans to increase learner engagement is to add a text entry for learner names and have them pick their chosen avatar. However, our current set up is we have different storyline file for each module. For example, we have Introduction, Module 1, Module 2, Module 3 and so on. My question--- is it possible to set up variable for introduction and it will carry over to the rest of the modules (different storyline raw file). We don't want the learners to repeat entering their name and choosing avatar every time they start a module (their done with intro or module 1 and they need to take the next course). 

If this is not possible, any suggestions or recommendation is highly appreciated. 

Thanks!

CD

 

 

 

3 Replies
Math Notermans

Yes it is possible with the use of some advanced javascript methods. Basically you set some values externally... either in a database, the LMS or Googlesheets. When  loading any other .story you get the values that are set...and show or load appropriate assets.

Another approach is shown here by Owen...
https://community.articulate.com/discussions/building-better-courses/passing-variable-data-between-storyline-blocks-in-rise-a-guide
You can use local storage to save some variables and thus pass that to any other .story.
Drawback of his method is that it only will work on the device the user uses initially. If logging in on some other device it won't find the needed localstorage and assumes the user is new. Even using another browser will make this approach fail.