Forum Discussion
LewisEigen
8 years agoCommunity Member
Getting student name from the LMS and using it in Articulate
In the LMS we are about to use, we can get the student name since the SCORM runtime variable for it is "cmi.core.student_name". However, how do I get it as a variable in Articulate at run time?
MichaelAnder569
8 years agoCommunity Member
Create a javascript trigger and use some code like this:
var player = GetPlayer();
player.SetVar("NameOfYourStorylineVariable", variableValue);
Let us know if you need more help than this. There is more sample code here: https://articulate.com/support/article/javascript-best-practices-and-examples
- LewisEigen18 years agoCommunity Member
Thanks so much. I think that will do it for me. Much appreciated.