Forum Discussion
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 t...
AnikaGlischi352
Community Member
I did upload it into a course and test it in my regular user account, though....
Do you think the Single Sign On could interfere here?
MathNotermans-9
3 years agoCommunity Member
I donot know CrossKnowledge well enough. Only thing i can see is that the username that gets sent back is 'Anonymous'. Whether that has to do with SSO or some other setting in CrossKnowledge i cannot tell. Best is test it with a pure student account. If you then still get 'Anonymous' back...well then there is something weird going on on CrossKnowledge side.
- AnikaGlischi3523 years agoCommunity Member
Never mind. I just opened in Chrome and it's fine!
Thank you so much for this and all your helpful tips!
- AnikaGlischi3523 years agoCommunity Member
The updated JavaScript that you sent (the long one) did the trick!!! :)