Forum Discussion
CameronHallo868
2 years agoCommunity Member
GetScore from Moodle
I am trying to have when students retry an activity they have their current best score displayed as an incentive.
I am struggling to get the GetScore(); value to return the previous highest score ...
Jürgen_Schoene_
2 years agoCommunity Member
there seems to be a script error in your code -> result: storyline cannot start it -> "is not a function"
you could check your code on https://beautifytools.com/javascript-validator.php
######
whats the result with
console.log( "ID", lmsAPI.GetStudentID() )
this is the result on Scorm Cloud with one of my courses
lmsAPI.GetScore() is always empty - perhaps the score will be never sended ?
here you can see how to debug the communication between course and LMS
https://community.articulate.com/articles/the-secret-to-lms-debugging