Forum Discussion
Passing Variable Data Between Storyline Blocks in Rise (a guide)
Did you know that you can use the computer's local storage to pass data from one Storyline block to another one within the same Rise course? Well you can and all it takes is a few simple lines of JavaScript code.
This gives you all kinds of customization options for your Rise courses, including capturing and remembering the learners name and other selections they might make as shown here in this Rise example. What other ways might you use this?
https://360.articulate.com/review/content/b56569f8-4679-4c5c-a937-738eb98cc3fa/review
- AdamZamczykCommunity Member
hi OwenHolt , this looks simple yet so cleaver.
Do you know if this will work on any device/browser (Edge, Chrome, Safari) including mobile (Android, iOS)? - AllegiantUni345Community Member
Is there a way to pass quiz results from a Storyline Block to Rise for tracking?
- SarahHodgeFormer Staff
Hi Allegiant University! I'm not sure if this if what you're looking to do, but just in case, here are a few resources on passing scores from a Storyline block in Rise 360:
- AntonioPiana-08Community Member
Hi Owen,
Many thanks for sharing this. May I ask a question please?
How can the LMS report on the information from the variables? I.e. if I asked the user to select some scores at the beginning and then be able to review those at the end of a module. I would want to see that information in the LMS. Any ideas please? - JenelleGillisCommunity Member
Owen,
Do the blocks have to be consecutive in Rise? I can't seem to figure out what I am doing wrong :(
I will continue to troubleshoot, any guidance you could provide would be greatly appreciated. Thanks!
- SherriSagers-caCommunity Member
In case anyone else needs what I did... I am using this solution to pass a score from a Storyline quiz to a Smartsheet form within Rise. Once in a while the Smartsheet form wouldn't have a score and that's because the Smartsheet form was on the same Rise page as the quiz, so when a learner would scroll down to the Smartsheet form, it would load and grab the nonexistent quiz score. As Owen explains above, I needed to add a continue button that doesn't become active until the learner finishes the quiz. Then when the learner clicks continue, it opens the Smartsheet form.
BTW - I had to put the Smartsheet form in a Storyline block in order to grab the score... I describe how to do that here:
- OwenHoltSuper Hero
That sounds like an awesome project Sherri!
- TeahChadderdonCommunity Member
Ah, got it! This is great news, thank you, Owen.
I'm still in the practicing / storyboarding phrase. I'm using the Rise course to see if what I want to do is possible; I haven't created the 3rd - 8th blocks yet, so the 1st block technically doesn't go anywhere.
When you had me add a continue divider that must be completed, I realized that the 1st block cannot be "completed." Bingo!
Thank you so much! I deeply appreciate you!- OwenHoltSuper Hero
No problem. Connect with me on LinkedIn as well if you have further issues.
- TeahChadderdonCommunity Member
Hi Owen,
Bummer, it didn't work. Here are my .story files.
Also, here is a review link:
Thank you again, so much.
(*edited to remove files)- OwenHoltSuper Hero
OK - I think I see the issue and it isn't with your Storyline files. The problem is on the Rise side and deals with how Rise loads the Storyline blocks. Your second block is loading before the 1st block is completing so, it is pulling the data prior to the data being input.
Try adding a continue divider between the 2 blocks and make it "Must complete the block above before proceeding" requirement. That should prevent the 2nd block from loading before the 1st block is complete.- SherriSagers-caCommunity Member
Thank you Owen for taking the time to reply to this. I wanted to let you know that I use your solution a lot in my courses, so I follow this thread carefully and I think you may have just solved an issue I've been seeing lately, too! I'm about to start adding the dividers now! :D (woo-hoo!)
- TeahChadderdonCommunity Member
Thank you so much for replying, Owen, sooooo appreciate you!
I will try this suggestion. If it doesn't work, I'll attach both the .story files and the rise link if that helps.
Either way, I'll let you know if it worked.
Thank you again so very very much. - OwenHoltSuper Hero
It is hard to say without actually seeing your .story files but it looks like your first block could be sending the username to local storage BEFORE the user has actually input their name. Try changing your trigger from Execute JavaScript when timeline starts to something else like "when variable changes" or "when user presses button".