Closed mike-st closed 4 years ago
Hi @mike-st, from your screenshot it looks like you're using Scorm Cloud. I'm not sure what statement exactly Scorm Cloud interrogates to surface the score, but currently the xAPI extension sends a separate statement for Assessment completion. You can find the code here: https://github.com/adaptlearning/adapt-contrib-xapi/blob/master/js/adapt-contrib-xapi.js#L704-L738
Can you verify that you see an Assessment statement at least?
Hi and thanks @brian-learningpool for your help. I apologize as I am very new to xAPI and may have mixed something up. You are correct I am using Scorm Cloud and it is doing a good job of tracking everything. I have set up the "_activeID" to go to my courses url (ex.) "https://cloud.scorm.com/sandbox/content/courses/coursearea/xAPITestCourse-5x5x5x5x5x". I have also set up the "_endpoint" to go to (ex.) "https://cloud.scorm.com/tc/coursearea/sandbox/".
I am wondering if I should extend the statement time delay as it is at 500, maybe that is not enough time for Scorm Cloud? Also I checked in the browsers console log and everything there is feeding through fine. Sorry but still stumped if you can help? Thanks in advance...
Hi @mike-st, apologies for the delay in getting back to you.
Your configuration looks fine. My point is that there is a specific "assessment passed" statement sent via the xAPI extension. This most likely is not what Scorm Cloud is using to track and store against the course score which it surfaces on the dashboard page.
Hi @mike-st, I know our last communication was a year ago but I've been doing some testing recently on Scorm Cloud and it appears that when the pass/fail statements are grouped correctly, the assessment score, etc. does display. This is dependent on assessment being grouped as part of the course, so the statement has contextActivities.grouping[]
set.
The good news is that I'm working on a PR right now to address this as part of #50, and it should be ready shortly as part of the 0.8 release.
Resolved in v0.8.
Hi not sure why but everything else is working for me using the xAPI extension except the assessment scoring data won't populate. Perhaps I am missing a small detail not sure. Here is how I have filled out the config.json...
"_xapi": { "_isEnabled": true, "_specification": "xAPI", "_activityID": "https://mycourse.com/myid", "_endpoint": "https://myendpoint.com", "_user": "", "_password": "", "_lang": "en-US", "_generateIds": false, "_shouldTrackState": true, "_coreEvents": { "Adapt": { "router:menu": true, "router:page": true, "questionView:recordInteraction": true, "assessments:complete": true }, "contentobjects": { "change:_isComplete": true }, "articles": { "change:_isComplete": true }, "blocks": { "change:_isComplete": true }, "components": { "change:_isComplete": true } }, "_lrsFailureBehaviour": "show" },