Scorm No completion criteria set for course

Scorm No completion criteria set for course

by Daniel Romero -
Number of replies: 1

Hello, I am trying to retrieve scorm completion data for courses, by using an integrated method that moodle mobile provides (getCompletion() & getCompletedStatusText() ) But I am getting a No completion criteria set for course error for each one of my courses. Would anyone know what I am doing wrong? I followed the same example on how it is used in www/addons/coursecompletion/controllers/report.js file.  Thanks in advance.

Attachment Screen Shot 2018-02-11 at 9.44.40 PM.png
Attachment Screen Shot 2018-02-11 at 9.47.31 PM.png
Average of ratings: -
In reply to Daniel Romero

Re: Scorm No completion criteria set for course

by Daniel Romero -

I have looked at the `mdl_course_completion_criteria` in the database and only one course had criterias. I believe this is the error. None of the assigned courses to that particular student had any criterias to begin with so I believe the code is fine. Any insight would still be appreciated though. Thank you