Setting objectives in Storyline
Sep 03, 2019
I am trying to set Primarty Objectives, by status, in JavaScript for a Storyline project by ...
Execute JavaScript when Timeline ends on the last slide of a project. The Jqavascript I am using is ...
scorm.setValue('cmi.objectives.0.id', 'obj1');
scorm.setValue('cmi.objectives.0.completion_status', 'completed');
scorm.setValue('cmi.objectives.0.status', 'completed');
commit();
As well as the Execute JavaScript Slide Trigger I have and Exit Course when timeline ends and a Player trigger of Complete Course when the user clicks the submit button.
I am publishing the project as 1.2 SCORM and am reporting status to LMS as Completed/Incomplete.
I am getting the course as Completed / Satisfied in the LMS but it is failing to pass across the Primary Objective Status. Any help would be appreciated.
Cheers Glenn
1 Reply
Glenn, you may consider ditching your javascript and instead use this method to send your custom variable info to your LMS - https://articulate.com/support/article/Storyline-360-How-to-Send-the-Value-of-a-Variable-to-an-LMS
I've used this method several times, always works dependably.
This discussion is closed. You can start a new discussion or contact Articulate Support.