Forum Discussion
RobertDente
11 years agoCommunity Member
Steve Flowers said:
Haha, that's what I get for multi-tasking. Phil's example demonstrates it the rearrangement. lmsAPI.GetStudentName() and SCORM_GetStudentName() should return identical values.
var player = GetPlayer();
var myName = lmsAPI.GetStudentName();
var array = myName.split(',');
var newName = array[1] + ' ' + array[0];
player.SetVar("newName", newName);
I have this working from the SCORM cloud and the same code does not work in the ArticulateOnline environment. Thoughts?