Forum Discussion
BrycePoole-1cf0
9 months agoCommunity Member
JavaScript returning with "Preview" when trying to pull user names from LMS
Hi everyone,
I have run across this before but don't recall what I did to correct it, I am trying to pull the learners first and last name from the LMS and when I test in the LMS the system shows ...
SamHill
9 months agoSuper Hero
Hi Bryce,
Your script looks fine. The LMS must returning preview as the name. Is this because you are just "previewing" the content and it's not using actual student data? Are you accessing the content as learner would?
I suspect this is some king of preview/test mode for testing content and it uses dummy SCORM data.
To confirm you could use the cloud.scorm.com test service to see if the name is returned correctly.
Which LMS do you use?
Cheers,
Sam