Forum Discussion

DeborahAstie-ec's avatar
DeborahAstie-ec
Community Member
23 hours ago

Passing user and course data to LMS using Javascript

My company is looking to switch to Articulate 360 from Adobe Captivate. We use a home built LMS that does not work with SCORM. Currently, we are able to pass user and course data from lessons to our LMS using Javascript. 

We have been told that Articulate cannot help us in figuring out how to do this since they do not support Javascript. We have also been told this might be difficult because Articulate does not publish a list of internal functions/variables that we can make use of.

Here's a list of our needs in order for us to move forward with Storyline:

  • Include external JavaScript files.
  • Ability to access and create Application Event Listeners.  This allows us to execute our code on certain events - Start up, Button Clicks, Course Completion, etc...
  • Access URL or Form Data and store in system variables or local storage.  We will pass in User and Course data that will need to be included in the JS calls to our LMS.

We would greatly appreciate any help or direction. I know this is an unusual situation.

  • SBP_Inc's avatar
    SBP_Inc
    Community Member

    Javascript combined with ExecuteScript triggers is one of the key connectors between SL and javascript. I write custom javascript code for similar functionality for client projects frequently. I create standard SL triggers for button event types, then run the custom js code using the Execute Script action. Debugging is challenging as scripting is disabled during course preview, but one gets pretty good at the workflow quickly