4 Replies
Wim Riddersma

I wanted to do the same and after some searching in other topics I found a solution that works for me. I adjust a javascript which pulls the name and just added:

"var StudentID = lmsAPI.GetStudentID();"

Define a variable and set a trigger. In my case the scripts looks like:

//grab the LMS object
var lmsAPI = parent
//ask the LMS object to get the name
var rawName = lmsAPI.GetStudentName();
//ask the LMS object to get SudentID
var StudentID = lmsAPI.GetStudentID();
//the name comes very formal "Last, First"
//we will fix that by sticking the name into an array
var nameArray = rawName.split(",")
//get the first name
var voorNaam = nameArray[1];
//get the last name
var achterNaam = nameArray[0];
//now we grab the Articulate player
var p = GetPlayer();
//finally we set our Articulate vars to our js values
p.SetVar("voorNaam",voorNaam );
p.SetVar("achterNaam",achterNaam );
p.SetVar("StudentID",StudentID );

The data is send to a google spreadsheet. But it is also possible to send in back to the LMS as an answer to a question. The LMS we use does not have the possibility to give us a report on the answers.

Works for me, hopefully it works for others.