Forum Discussion

BenKanspedos-8b's avatar
BenKanspedos-8b
Community Member
2 years ago

Using JavaScript tp Retrieve user's name from Docebo LMS when publishing to xAPI

I am using Storyline 360, and I want to run a javascript to automatically retrieve the user's name from the LMS (Docebo) and save it to a variable.

I am able to do this successfully when published in SCORM. However, I am unable to do it when published to xAPI.

When published to xAPI, I am able to update the variable, however rather than update it to my name (like it does in SCORM), it updates the variable to (blank). Somehow the name cannot be retrieved from the LMS.

I don't know if this is a limitation with Articulate or the LMS. According to ChatGPT, it is most likely a limitation with Articulate. 

I can post both the SCORM and xAPI javascript I am using if that would be helpful, but I don't think the issue is with the JS, but rather, a limitation with the LMS or Articulate.

Does anyone have any pointers or ideas? I need to figure this out.

Thanks!