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);
MaheshMahajan just wanted to chime in and say I appreciate you for jumping in and sharing a technical solution! Super generous of you. CierraL1, 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?
- CierraL11 month agoCommunity Member
Yes, I actually have! We meet with Paycom soon and I will report back on what solutions, if any, we come up with for other Storyliners who use Paycom.
- Noele_Flowers1 month agoStaff
Appreciate the follow-up here, CierraL1! Curious what you ended up finding out?
- CierraL11 month agoCommunity Member
Absolutely. I followed up about a week ago. You may not be able to see it. We spoke w/ Paycom and they informed us that although it is not currently an option, the option is now being considered for future development. If it ever becomes available, I'll post another update. :) Thank you so much!
- CierraL11 month agoCommunity Member
Noele_Flowers just wanted to follow up. We spoke w/ Paycom and they informed us that although it is not currently an option, the option is now being considered for future development. If it ever becomes available, I'll post another update. :)
Related Content
- 7 months ago
- 10 months ago