The ULTIMATE Guide to Publishing to xAPI and SCORM (2024)

Published: 13 November 2023
on channel: Learning Dojo
1,904
43

Learn everything you need to know about publishing to xAPI and SCORM in 2024 with this comprehensive guide. Discover the differences between xAPI and SCORM, how to send data to an external LRS, and how to utilize xAPI with Articulate Storyline 360. Whether you're new to learning analytics or looking to enhance your skills, this tutorial will guide you through the process of sending xAPI data and getting started with xAPI. Dive into the world of xAPI and Storyline 360 with practical examples and tutorials to streamline your learning and development projects. Enhance your knowledge of xAPI and take your e-learning content to the next level.

Cornerstone Code (May have to be adapted for get actor function)
var player = GetPlayer();

function findLMSAPI(win) {
if (win.hasOwnProperty("GetStudentID")) return win;
else if (win.parent == win) return null;
else return findLMSAPI(win.parent);
}

var lmsAPI = findLMSAPI(this);
var newName = "Guest";

if (lmsAPI) {
var name = lmsAPI.GetStudentName();
var nameArray = name.split(" ");
var firstName = nameArray[0];
var lastName = nameArray[1];
var player = GetPlayer();
player.SetVar('first_name', firstName);
player.SetVar('last_name', lastName);
}

player.SetVar("name", name);

If you would like learn more visit https://learningdojo.ninja.

Chapters
0:00 Introduction
0:52 Why set up xAPI data?
2:06 Systems that I will be using
2:42 Publishing settings in Storyline
4:00 Connecting to external LRS
6:36 Capturing the actor via SCORM
8:51 JavaScript to get actor
10:38 Publishing your project
11:55 Previewing the course
12:40 Viewing the xAPI data
15:39 Conclusion
16:40 Inspecting the LMS