Forum Discussion
Everything we know about Cornerstone on Demand and Storyline!
Hello Cornerstone users I need some advice. We currently use Java script on the last slide of our eLearns to basically tell Cornerstone the module is complete, We have this as a trigger when the last slide starts and when the user presses the exit button. This was set up prior to me starting - its not something I have ever used. I was wondering if this is needed? We publish modules to SCORM2004 with passed/incomplete set. Does anyone else use Java script to get it to show as complete?
- Will_Findlay7 years agoCommunity Member
It would be interesting to see what the javascript code is that accomplishes this. Would you mind posting it?
To answer your question though, no, it isn't needed. The method we use to accomplish essentially the same thing is outlined in the help article:
Using javascript might be less work though. (But then the trade-off is that it isn't supported by Articulate)
- GemmaWells7 years agoCommunity Member
The java script we use is
var lmsAPI = parent;
lmsAPI.SetScore(100, 100, 0);
SetStatus("completed")- Will_Findlay7 years agoCommunity Member
So if you use JavaScript to tell Cornerstone to complete the module, what do you choose on the Tracking Tab under Reporting and Tracking Options?
"Track using number of slides viewed" set to the total number of slides?