Question
I have a multi-sco'ed course and would like one of the sco's to serve as a "menu" that will know the status of the others using global objectives. On this sco, I would like to be able to access the others and also see their completion status (with some sort of visual indication of completion). How do I access the status of a global objective using Javascript so that I can then use code to show some sort of visual flag next to scos that have been completed?
Answer
If a SCO has a read map to a global objective, then it will be able to read its status using the cmi.n.objectives data model. You will need to cycle through these run-time objectives to find the ones with the identifiers you are looking for and then simply read the status. Let us know if you have any questions!
Comments
Hello,
I have the same problem as Joe.
I realized that targetObjectiveID must be common to the various SCOS objectives. Am I right?
On SCORM cloud I managed to recover a success_status sco from another sco but not completion_status. Is this normal?
In the Syfadis LMS , I do not get either the success_status. Is my package correct? I've attached a package multi SCOS. The first sco passes Objective 1 passed (click on "Objective 1: set status Passed"). the second sco retrieves it (click on "objective 1: get status success")
Hello Von,
I received your ticket as well...will answer you there!
Thank you,
Joe