Forum Discussion
Grade not reporting in CANVAS
Same issue here, tracking worked months ago when uploading and testing the SCORM packages but last week stopped working (most of the time). Some will mark as incomplete but its not consistantly doing that.
The only way I've been able to get scores out is using a trigger and some javascript on the results slide to push out a custom variable.
Curious, would you mind sharing this code, or some more information?
- Dave-Ruckley5 years agoCommunity Member
Jerad - this is the code:
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_TOTAL"), 100, 0);
SCORM_CallLMSSetValue("cmi.core.lesson_status", "complete");I found it somewhere here in the community but can't find the original thread unfortunately.
Related Content
- 10 months ago
- 10 months ago
- 5 months ago