Custom Quizzes and Scorm

Jun 17, 2021

Hi all,

It is my understanding that part of publishing my course to a SCORM package, will allow my LMS to track scores.  How do I ensure this is the case if I create custom quiz questions and do not use the 'Graded' questions built into Articulate?


4 Replies
Judy Nollet

By itself, Storyline only collects and scores graded questions. That includes its pre-built graded question slides and regular slides that are converted to freeform questions. 

If your custom quiz questions weren't built using the Convert to Freeform function, then you'd need special programming (e.g., javascript) to score them. If that's the case, it might be easier to re-create them as Freeform questions.

Dave Ruckley

As mentioned by Judy you would need to use some Javascript to send a custom variable to the LMS. This is the code I've used (originally from a community post that I can't find):

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);
lmsAPI.SetScore(player.GetVar("final_user_score"), 100, 0);
SCORM_CallLMSSetValue("cmi.core.lesson_status", "complete");

final_user_score is the variable I increase or decrease throughout the slides. Yours may be named something different so you'd need to change it in the code.