Getting the learner name from the LMS is a nice wee trick to personalise a course (used sparingly!) Using whatever API (in this instance I was using Pipwerks SCORM 1.2 demo shell), var learnerName = get('cmi.core.student_name'); The SCORM standard stores the name as LastName, FirstName MiddleInitial, so the name comes out as 'Blair, Lawrence' for... Continue Reading →
Set a SCORM completion in Storyline using javascript
Run this as a 'run JavaScript' in Storyline and you're done-burgers. Storyline 360 (20.03.2018) 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); //set score; the first number is the score lmsAPI.SetScore(100, 100, 0); //set status; possible values: "completed","incomplete", "failed", "passed" lmsAPI.SetReachedEnd();... Continue Reading →
Captivate SCORM scoring when you only want completion
We had a problem where we wanted a module to only complete based on slide views. What we were getting in Moodle (Totara) was fine, it was marking complete fine, but it'd show all this 'you failed' and showing scores we weren't reporting and all sorts of crazy garbage. Captivate just sends all the garbage... Continue Reading →