Question for the JavaScript gurus

Aug 21, 2019

Storyline has a JavaScript global variable objLMS that I've have used to find the SCORM API. I've read of other Storyline methods elsewhere.

I have also used this script:

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

Is there any suggestion on the most solid or best way to find the SCORM API?

Asking for a friend.

Be the first to reply

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