Forum Discussion
cwang
5 years agoCommunity Member
Use JavaScript to send data to LMS with SCORM 2004 4th edition
Hi all,
There are many discussions on this topic but I haven't seen a full script using SCORM 2004 so I thought I could share what I've used to report data that includes detailed question text an...
MathNotermans-9
3 years agoCommunity Member
First thing to do whenever something isnot working... Open up your Inspector tools ( F12 or CTRL+Shift+I ) in your browser. This is what you see then.
When working with Javascript in Storyline the console window on the right is critical because here you see all errors.
And immediately you notice that all your variables cannot be resolved.Path did not resolve at: Q1_Response
This means Storyline cannot find that variable. Either it is misspelled or not available.
So the next step is checking you Storyline. And opening up the variable window the first thing you see... none of these variables exist... so the error is clear :-)
Now you know how to check this...and how to fix it :-)
Kind regards,
Math