Adding a trigger to user.js after publishing.

Aug 04, 2016

Hi all, we have just implemented a new LMS (Brightspace by D2L) and all of a sudden a bunch of our SCORM packages are not tracking completion.

Brightspace does not seem to care about completion based on slide view, and only cares about a grade. Our other LMSs will take completion and assign a grade to it if we want. 

Anyway, through some searching around on the forums I was able to accomplish what we wanted by adding a trigger to the last slide that sent completion and a score through javascript:

//get LMS API
var lmsAPI = parent;
//set score; the first number is the score
lmsAPI.SetScore(100, 100, 0);
//set status; possible values: "completed","incomplete", "failed", "passed"

However, we have a couple hundred of these storyline packages, and I am wondering if it is possible to add this trigger to fire on the last slide without having to republish every one of them? Or, if there is another way to accomplish this with just modifying the published files vs having to go back into storyline and republihs/reupload.

Thank you all in advance for your help.


3 Replies

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