Forum Discussion
Hi Suvin,
You would need to pass the data to the SCORM 2004 data model element called cmi.progress_measure. You need to be aware that this accepts a value between 0 and 1. 0 being 0% completed and 1 being 100% completed and 0.5 being 50% completed (assuming a completion threshold hasn't been set.)
What you first need to do in Storyline, is assign the Project.Progress variable to a user defined variable, for example "ProgressMeasure". Make this a number type variable. You should then set a trigger on your Master Template as follows:
You then need to send this value to the LMS. I think the safest way to do this, is on timeline start again. This will be using JavaScript and Storylines build in LMS Set function as follows:
// Get the player object
var player = GetPlayer();
// Get the variable from Storyline
var ProgressMeasure = player.GetVar('ProgressMeasure');
// Change to value between 0 and 1
ProgressMeasure = (ProgressMeasure / 100);
// Send to the LMS
SCORM2004_SetProgressMeasure(ProgressMeasure)
Publish to SCORM 2004 and that should work.
Some friendly feedback for you. For future posts on the forum, I highly recommend first having a go at some kind of solution your self, or at least sharing any research you have done, as it can sometimes come across that posters haven't attempted a solution and look for a solution handed to them on a platter.
You'll learn the software a lot quicker through trying things and researching on the forums. I understand that this is a more complex one, but even finding the Storyline progress variables would have demonstrated some effort to find the solution.
- CristinaZaplana6 months agoCommunity Member
Hi SAM,
This operational can be applied in Scorm 1.2? And Where i can insert this JavaScrip to be read by Moodle Plattform?. I try to insert in the Slide master but I can not know if this will work. In other hand, i configured already a progress bar in a Slide collection but it isn´t connect with LMS its only to preview the progress in the slide collection.
can you give me your feedback?
Regards.
Cristina.