Forum Discussion
LMS not displaying Quiz Score as Game Score
Hi Clee1,
Please use the code below to submit the score to the LMS. I hope this works with your LMS.
var player = GetPlayer();
var score = player.GetVar("score");
function findLMSAPI(win) {
if (win.hasOwnProperty("GetStudentID")) return win;
else if (win.parent == win) return null;
else return findLMSAPI(win.parent);
}
//get LMS API
var lmsAPI = findLMSAPI(this);
lmsAPI.SetScore(score,21250, 0);
- clee12 days agoCommunity Member
Thank you. I tried this javascript and it gave me a percentage and the status as complete still. I'm thinking it is a Paycom Learning limitation.
- Noele_Flowers9 hours agoStaff
MaheshMahajan just wanted to chime in and say I appreciate you for jumping in and sharing a technical solution! Super generous of you. clee1, I'm sorry to hear it sounds like you're running into some LMS limitations—wondering if you've reached out to Playcom already to see if this is a known issue on their end?
Related Content
- 6 months ago
- 9 months ago