Table of Contents |
---|
...
The cmiElementName must match one of the switch cases. For example, the Scorm 1.2 standard is cmi.core.lesson_status but the cmiElementName shows as cmi.success_status (the Scorm 2004 standard). This means the package was generated/compiled incorrectly, and must be bounced back to the client/vendor.
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
var myAPI = getAPIHandle(); if (!myAPI) { console.log("Mapping: Could not find API"); } else{ console.log("APIFOUND"); myAPI.SCOIDMapping = {}; myAPI.SCOManifestMapping = {}; myAPI.SCOIdFromManifest = '__6g7FD8imvYA_course_id_RES'; myAPI.SCODataFromManifest = {"id":"__6g7FD8imvYA_course_id_RES","timelimitaction":"ContinueNoMessage"}; } |
Common Errors
No Error (infinite loading) or "No Links Specified" in the LMS
We have seen an error where invalid characters in the SCO Resource Id have caused our 3rd party extractor to silently ignore the resource/course and not give any error (This is fixed as in 4.3.0
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Note: Reserved html characters should be viewed with suspicion. To fix this issue, remove the offending characters, and re-zip the packaged files with a new name, and re-import the course to the LMS.
No Error (infinite loading) alternative
We have also seen rare instances (e.g. NCLH) of Scorm course making external calls. Normally this is not supported, but we have made exceptions (specifically for NCLH). This can be seen in the Network trace in the developer window. It will manifest as 403 or 404 errors, and in rare cases, a Content-Security-Policy exception:
Note this has been fixed on NCLH by changing the CSP to use frame-src instead of script-src and whitelisting cloud.scorm.com. Additionally, this must be tested with https as external sites (e.g. cloud.scorm.com) will rejected an unsecured http request. Use hotbackup for testing.
Course Is Not Viewable By Students
There is currently an issue on 4.2.x with the importScorm command, caused by
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
- After running importScorm, navigate to the course itself (final link).
- Before changing the template to the SCORM course template as you normally do, you need to Edit > Links > Publish the link.
- Then you can change the template to the proper SCORM template. (Edit > Page > Change Template)
Currently the SCORM templates (at least SCORM.Course.Simple.cshtml) don't seem to be aware of this and so no error is shown anywhere in the console or network trace.
Testing the Package Externally
...
You should see the appropriate percentage under Score for whatever quiz answers you provided.
No Error (infinite loading) or "No Links Specified" in the LMS
We have seen an error where invalid characters in the SCO Resource Id have caused our 3rd party extractor to silently ignore the resource/course and not give any error (This is fixed as in 4.3.0
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
Note: Reserved html characters should be viewed with suspicion. To fix this issue, remove the offending characters, and re-zip the packaged files with a new name, and re-import the course to the LMS.
No Error (infinite loading) alternative
We have also seen rare instances (e.g. NCLH) of Scorm course making external calls. Normally this is not supported, but we have made exceptions (specifically for NCLH). This can be seen in the Network trace in the developer window. It will manifest as 403 or 404 errors, and in rare cases, a Content-Security-Policy exception:
Note this has been fixed on NCLH by changing the CSP to use frame-src instead of script-src and whitelisting cloud.scorm.com. Additionally, this must be tested with https as external sites (e.g. cloud.scorm.com) will rejected an unsecured http request. Use hotbackup for testing.
Course Is Not Viewable By Students
There is currently an issue on 4.2.x with the importScorm command, caused by
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
- After running importScorm, navigate to the course itself (final link).
- Before changing the template to the SCORM course template as you normally do, you need to Edit > Links > Publish the link.
- Then you can change the template to the proper SCORM template. (Edit > Page > Change Template)
...
.