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!