Copy link to clipboard
Copied
Hi Everyone,
I have created a custom quiz with a custom result slide. I'm not using the built-in system quizzing variables. It is all setup and working in preview but I now need to send the custom score (e.g. myquiz_score) to LMS. Unfortunately, I can't override the built-in score variable which is read-only. Any suggestions? None of the solutions has worked as mentioned here https://community.adobe.com/t5/captivate-discussions/submit-my-quiz-score-to-the-lms-not-the-quot-na...
Maybe this could be a solution for you:
https://widgetking.github.io/cpextra/variables/command.html#xcmndscore
CpExtra has a command variable that allows you to specify a score value that gets reported to the quiz. It allows you to report any score you want.
Copy link to clipboard
Copied
You would need to transfer the value of your 'score' to the quizzing system variable cpQuizInfoPointsscored. Personally I use the CpExtra widget (Infosemantics-Australia) but it is also possible with JavaScript. The article you are pointing at is from 2015, but I am sure that one of the JavaScript experts here will help you. My focus is on Captivate's InBuilt features. And I use a lot of custom quiz slides, taking care to attach the scores to scoreable objects which makes it unnecessary to do it with a variable to store the score.
Copy link to clipboard
Copied
Maybe this could be a solution for you:
https://widgetking.github.io/cpextra/variables/command.html#xcmndscore
CpExtra has a command variable that allows you to specify a score value that gets reported to the quiz. It allows you to report any score you want.
Copy link to clipboard
Copied
Hi RodWard,
I was able to acheive this with xcmndScore. Thank you!
Copy link to clipboard
Copied
Glad to help.
Copy link to clipboard
Copied
Indeed, I mentioned that this is also my approach, being lazy with JS.
Just want to add that the same result can be done using JavaScript, and regret that none of the JS experts popped in to show the workflow. I sincerely hope you explore all the features of CpExtra, they are 'amazing'!