Capture Data in Excel from LMS and SCORM Package

Capturing LRS-like data from an elearning course is a ultimate utopia for elearning developers and admins. LMS, along with SCORM, is usually restricted to a limited set of communication. Most LMSs are only configured to accept just the ‘Complete/Incomplete‘ like statements. xAPI? Well, we need LRS for that, and it needs another level of know-how. Here is a method that can capture parameters from a SCORM file and LMS, push to an Excel using Power Automate. And what all data can be transferred is up to your imagination. Opportunities are limitless.

Prerequisites:

  1. Articulate Storyline (a trial subscription will work)
  2. Microsoft Power Automate (comes with a Microsoft Business subscription)
  3. Microsoft OneDrive for Business (comes with a Microsoft Business subscription)
  4. Microsoft Excel
  5. Your Persistence (sometimes it takes more than one try for success, that’s life).

Step 1: Prep the Excel

  • Create a New Excel file on OneDrive for Business.
  • Add the following columns, and name the Table as “Data”

Step 2: Prep the Storyline File

  • In a Storyline file, add the corresponding variables:

Note: You may see few variables such as scorepercent and TotalScore that are not in Excel. They are not needed for the Data Push.

  • In the first slide, add Execute JavaScript when the Timeline Starts on the Slide trigger, and put the following code in JavaScript window:
  • Once the quiz ends, transfer all the quiz data to Excel using the following JavaScript code in .story file:
  • Keep the flowURL section empty. We will fill it once we setup the PowerAutomate flow.

Step 3: Setup the Power Automate

Step 4: Link the Power Automate to JS

After setting up Power Automate successfully, copy the HTTP URL to the JavaScript in the Storyline file.

Step 5: Publish and Upload

Publish the file and upload the SCORM zip to the LMS.

That’s it!

Note: I have kept the JSON schema in the Power Automate as empty, resulting in all the data accumulating in the first column as a data array. That’s alright! As our objective is to capture the data. Optimization comes later, and can be done by PowerQuery in Excel easily.

Working Demo on Scorm Cloud

Excel File: LMS to Excel Push.xlsx

Story File: What’s Your QuizScore__v1.story

Leave a Comment

Your email address will not be published. Required fields are marked *

Top