Passing Completion status to LMS

Jun 27, 2013

Normal 0 21 false false false oNotPromoteQF /> FR X-NONE X-NONE

Hi Storyliners!

My project is settled with tracking on quiz and Passed/Failed and I need to report Completed as soon the user have completed the quiz with success or not.

 

I tried this javascrip given by Steve Flowers to pass completion and score to LMS:

onBWEvent("BW_UpdateStatus","completed|~|"+totalScore+"|~|0|~|100|~|80|~|quiz");

 

I used a trigger at time line start in my results slide. I ran it in cloud.scorm but when the user failed the quiz the status is always incomplete. What I am missing?

By the way, completion status would be the only one I need to pass, as I have the submit trigger with the scoring on the result slide. Or I should not have?

 

Although I know that javascript is not *officially* supported here, any suggestion to point me in the right direction would be appreciate. Thanks in advance for any help!

 

Hervé

9 Replies
Hervé Savary

Thank you Phil for your response,

Yes I thought it might be the case and I have first set the trigger on a button on the results slide, an then I set that button on a slide after the results slide: the completion status is always incomplete, if the quiz is failed.

I publish in SCORM 1.2 with Passed/Failed.

Any idea?

Thank again,

Hervé

Kawstov FLIP

Hi Herve,

We were having the same trouble.

Here's something you can find useful:

https://elearningenhanced.com/blog/2012/09/13/update-storyline-courses-status-lms-javascript

Another alternative:

Goto your output folder> lms> configuration.js 

open it and find the line  - var REVIEW_MODE_IS_READ_ONLY = true; (usually line number 44)

change the 'true' to 'false' and then upload the output on lms and try. [That worked in our case]. Remember to clear the cookies before you launch the fresh chapter. 

PS: I am not a coder. I am just sharing what I learnt.  

Regards,

Kawstov

Regards,

Kawstov

Hervé Savary

Normal 0 21 false false false oNotPromoteQF /> FR X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Tableau Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-fareast-language:EN-US;}

YEAH !It works !!!

Ionly used SetStatus("completed")and it did the job !

 

Thanks youso much Kawstov for sharing that trick and the link : you made my day :D

 

Cheers !

 

Hervé

Hervé Savary

Normal 0 21 false false false oNotPromoteQF /> FR X-NONE X-NONE ontGrowAutofit />

Well guys, I must admit that my enthusiasm was somewhat premature

When I first tried SetStatus("completed") the Submit Results triggers on my result slide was removed. So my update for the completion status (in cloud.scorm) was successful but the success status was logicaly “Unknow”. At that point I thought I just had to reset the submit results triggers to have both status I wanted (what I did right now). But the sad reality is that it seems you can’t enforce Completed when you have a Failed status (when tracking on quiz and Passed/Failed option).

 

Kawstov, have you been able to do so? (by the way, Itried to edit the configuration.js as you suggest, but it didn’t change nothing in cloud.scorm) or is it a lost cause ?

 

Hervé

This discussion is closed. You can start a new discussion or contact Articulate Support.