AnikaGlischi352
3 years agoCommunity Member
Adding user name to training using JavaScript
Hello. I am trying to add the user's name to the training via Java Script. (Bottom of slide 1.2) When I test this in Scorm Cloud, the last name is pulled in (I want the first name, so not sure if there is anything in my code or if that is just how it works in Scorm Cloud)
When I test it in my LMS (CrossKnowledge) I don't get anything. (Only Welcome ! The name is not pulled in.)
Is this due to the LMS then?
I am pretty new to using Java Script here, so not sure what I am doing wrong.
I am attaching the test file. The JavaScript is on slide 1.2 at the bottom.
Also: is it possible to pull in other data, such as "Employee Location", "Title", etc.
Thank you!!!
Anika