Forum Discussion
JoeLloyd-17dcfe
2 years agoCommunity Member
LMS Course Name JavaScript Action
Morning all,
I am hoping someone will be able to support me here, I am trying to have a JavaScript action that will set my "CourseName" the code i am using is as follows;
var player=GetPlayer();...
PhilMayor
2 years agoSuper Hero
var player=GetPlayer();
var externalCourseID = classroomName();
player.SetVar("CourseName", externalCourseID);
should work what does it show in the console