Forum Discussion
Success Factors Scorm content not completing
Hi all, 10 months ago, I communicated with Vanessa about this, and it turns out she wasn't using Storyline so wasn't able to add the Javascript on the last page, but this works for us:
>>Try adding a bit of javascript on the last page.
Just add a trigger on the last page > execute javascript > add the following in the script box
SetStatus("completed")
and decide when you want the status to be set as completed.
I prefer it to be triggered when timeline starts on the page.
The other issue we had was the way scores were sent to the system as 0/100 even though we had set Storyline to complete on number of slides viewed. I think it's something the LMS looks for and when there's nothing from Storyline, it puts in a 0/100 and then doesn't allow completion. To get around this, the javascript we put on our final page is
//get LMS API
var lmsAPI = parent;
//set score; the first number is the score
lmsAPI.SetScore(100, 100, 0);
//set status; possible values: "completed","incomplete", "failed", "passed"
SetStatus("completed")
In other words, if you only need people to 'pass' based on the fact they have got to the last page, just provide a nominal 100 for the score achieved and this will allow the LMS to see the object as passed and completed.
Hope that helps.
- LeonardoHessel8 years agoCommunity Member
Hi Liliam, how are you?
I'm sending a course to SF in HTML5, and have this same problem of not completing the course, even though I'm sending the lesson_status as completed.
Is this setting in JS you made using SCORM 1.2 or 2004?
Thank you very much for your attention.
Related Content
- 7 months ago
- 8 months ago
- 4 days ago