Storyline: access to system variables, SDK, or JavaScript API?

Aug 26, 2013

I don't see any mention in the past 6 months of the progress of an SDK for enhanced programmatic control and player state awareness.  I'm hoping for something that enables control by JavaScript, a web service, or otherwise.  I have some requirements for interruption of "normal" course flow that involves some complex logic.  This is already developed in a web service, and I would not want an ID to have to replicate this in Storyline (if even possible).

Let's use an actual scenario for discussion purposes: At certain points in a course, for particular users, and almost always just the first time through (not on review), a challenge question must be presented that involves user-specific information for the purpose of "proving" that the user is who he/she claims/registered as.  On failure, the user may even need to be locked out of the course.

What's the best way to accomplish this?

2 Replies
Jennifer Dixey

Andre, did you ever get a response about this? It seems like something you could do via the Flash-based SDK. You would have to have Adobe Flash development environment to make the calls to the web service, but the rest should just be Javascript (hmm, the Javascript might need to be server-side, and I honestly don't know if Flash can handle that these days but I'd be surprised if it couldn't.) Hope this helps or at least isn't totally irrelevant. :)

Andre Van Looveren

Thanks, Jennifer.  I never did get any feedback on this, but worked out my own solution that involves Storyline triggers calling JS, which is one direction of the communication, and the use of the JS player.SetVar() function, which is the other direction.  With the combination of setting one or more variables and having triggers that detect change (and even value) of the Storyline variables, I was able to manage what I needed.

This discussion is closed. You can start a new discussion or contact Articulate Support.