Not sure if this is not possible or I am not doing it right. I am trying to use a storyline block to determine a level of provider at the beginning of a rise module and then use that information in a later storyline block to alter their path within that block. I am trying to use javascript to do this.
Do the separate storyline blocks have separate variables sent to the LMS that cant be seen by one another? I tried to pass a variable called level to the lms and then pull it back with another storyline block. I dont know if it is my poor javascript skills or if this is not possible at all.
thinking more on this. I know I can retrieve data from the lms even though I am not publishing the storyline to lms but can I send data if I am publishing to articulate online for use in Rise?
It does not seem to be working for me for some reason.
Storyline blocks in Rise don't connect to the LMS. They will communicate with Rise to unlock continue buttons, for example, but this is one-direction only.
You could probably customize some javascript in post publish that you could then ping from your Storyline blocks. This would give you persistence between sessions. In the same session, you'll likely be successful setting a variable in the parent and grabbing that same variable into another storyline block. As long as everything in your package is running from the same location, you shouldn't need to run Post Message to communicate between frames. This approach wouldn't store it after closing. Would need some code in your Rise package to store it away and retrieve the value without messing with Rise specific behaviors.
I actually have a storyline block that is pulling variables from the lms working right now. It pulls learner name and a completion date for a certificate.
I didnt think it would work but it seems to be ok so far.
Your comments made me re-look a it. While I can pull the name variable from the LMS it does not keep the variable for the completion date as I had hoped it was doing.
Hey Tim - Since you can access the LMS API, you may have good luck setting one of the data elements that Rise isn't using and retrieving from that value in the other SL file.
That would be great Steve. Any thoughts on what LMS elements I could use? My coding skills are literally copy and paste from smart guys like you and hope it works.
I do a lot of stuff where I have to separate content by two different levels which worked well in Storyline. I love Rise but need to sort this out somehow.
7 Replies
thinking more on this. I know I can retrieve data from the lms even though I am not publishing the storyline to lms but can I send data if I am publishing to articulate online for use in Rise?
It does not seem to be working for me for some reason.
Thanks
Tim
Hey Tim -
Storyline blocks in Rise don't connect to the LMS. They will communicate with Rise to unlock continue buttons, for example, but this is one-direction only.
You could probably customize some javascript in post publish that you could then ping from your Storyline blocks. This would give you persistence between sessions. In the same session, you'll likely be successful setting a variable in the parent and grabbing that same variable into another storyline block. As long as everything in your package is running from the same location, you shouldn't need to run Post Message to communicate between frames. This approach wouldn't store it after closing. Would need some code in your Rise package to store it away and retrieve the value without messing with Rise specific behaviors.
Thanks Steve;
I actually have a storyline block that is pulling variables from the lms working right now. It pulls learner name and a completion date for a certificate.
I didnt think it would work but it seems to be ok so far.
This one is eluding me though.
Tim
Steve;
Your comments made me re-look a it. While I can pull the name variable from the LMS it does not keep the variable for the completion date as I had hoped it was doing.
That helped a lot. Thanks for the comment.
Tim
Hey Tim - Since you can access the LMS API, you may have good luck setting one of the data elements that Rise isn't using and retrieving from that value in the other SL file.
That would be great Steve. Any thoughts on what LMS elements I could use? My coding skills are literally copy and paste from smart guys like you and hope it works.
I do a lot of stuff where I have to separate content by two different levels which worked well in Storyline. I love Rise but need to sort this out somehow.
Thanks
Tim
Hi Steve I'm trying to get a storyline block to pull students name from LMS but can't get it to work any chance you could share how you got it work?
This discussion is closed. You can start a new discussion or contact Articulate Support.