Forum Discussion
AmanDubey
4 years agoCommunity Member
Need your Help -Sending custom variable to LMS
Hi,
I have a course with custom variable storing the score,
Need to send the score to LMS. the limitations is that i can't convert the interaction to free form questions , as the scoring mecha...
JudyNollet
4 years agoSuper Hero
Hi, Aman,
I can't help with JavaScript, but I can offer a Storyline solution that might suit your needs: Put the value of the custom variable into the text-entry field of a How Many survey slide. You'll also need to include a Survey Results slide, because that's what will send the answer to the LMS.
You could do this completely "behind the curtain," so the user doesn't know what's happening. For example:
- Insert a How Many survey slide.
- Move the numeric-entry field off of the slide, or cover it with a shape so the user can't see it or click it.
- Add your interaction to the survey slide.
- At the end of the interaction, add a trigger that puts the score into the numeric-entry field.
- Add a Survey Results slide somewhere in the course.
- This could also be disguised to look like just another slide in the course.
This method would allow you to get the score. However, by itself, it doesn't control whether or not the user passes or fails. But you could use two completion triggers at the end:
- Complete course as Completed/Passed, with the condition that the numeric-entry value is >= the passing score
- Complete course as Incomplete/Failed, with the condition that the numeric-entry value is < the passing score
FYI: This post discusses the use of a disguised question slide and graded results, as a way to get completion in SL3. But it might have some helpful info for you:
Related Content
- 2 months ago
- 2 months ago
- 9 months ago
- 2 months ago