Forum Discussion
MattGalbraith1
9 years agoCommunity Member
Hello! I'm having some trouble getting a Student ID to display. I set an alert to get the Student ID and it pops up with the info displayed perfectly, but I can't seem to transfer that StudentID variable into my Storyline project. Here is my code:
var player = GetPlayer ();
var learnerID = lmsAPI.GetStudentID();
player.SetVar("learnerID", learnerID);
It might help to note that we use Cornerstone for our LMS. Any ideas?