Scenario 1

The Comments From Learner data model element is made up of three (sub)elements:

  • comment
  • location
  • timestamp

Assume that the Sharable Content Object (SCO) needs to access the data associated with the Comments From Learner. Complete the dot-notation for each of the (sub)elements of the Comments From Learner data model element.

Assume that the index value is 0:

var comment = GetValue ( "cmi.comments_from_learner.0. " );
var location = GetValue ( "cmi.comments_from_learner.0. " );
var timestamp = GetValue ( "cmi.comments_from_learner.0. " );

Click after you complete this exercise.