Copy link to clipboard
Copied
I have been researching for a couple days now, and I have found some good JavaScript code for pulling information from the LMS and putting it into variables in my slide. I have been able to get this to work with Scorm Cloud, but as soon as i put it in Adobe Learning Manager, it no longer works. I have been trying to find what I need to do to make it specific to my LMS, but have had no luck.
In short, I want a certificate of completion that pulls in the learner name and course name. Anyone had success with this in Adobe Learning Manager and Storyline? Or know what I might be doing wrong? Below is the code I am using:
var player = GetPlayer();
var myName = lmsAPI.GetStudentName();
var array = myName.split(',');
var newName = array[1] + ' ' + array[0];
player.SetVar("lmsName", newName);
//myName = player.GetVar('myName');
//player.SetVar("lmsName", newName);
Copy link to clipboard
Copied
Hi @M_James,
Thank you for contacting the Adobe Learning Manager Team.
I can check that we already have a ticket open for this issue with our support team.
I am sure our support team can help you resolve the issue.
Kindly let me know if you need any further assistance.
Regards,
Debiprasad Maharana
Adobe Inc.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now