Publishing to Saba: How to mark the course completed and score?

Jun 15, 2011

I am trying to resolve an issue when running a course in Saba. I have no control over the Saba environment. It is handled by a company located in India. They say I should publish using the "Passed/Failed" option.

  • I have a 6-question quiz in the course (set to 80% for passing score).
  • I use the publish to LMS option.
  • I've tried three different reporting settings: “Completed/Incomplete”, "Passed/Incomplete", and "Passed/Failed".

Can anyone please tell me how to publish successfully to Saba?



5 Replies
Justin Wilcox

Hi Caroline and welcome to Heroes! While I'm not really familiar with the specific steps for importing a course into Saba, I would suggest reviewing the following articles so that you can be sure you are creating content that should work in Saba.



Caroline Bennett

Hi Justin and thanks for the welcome!

The links you provided were helpful. There is a special ZIP file for Saba 5.4 in one of the related articles, which I downloaded. I then 'republished to LMS' with the Passed/Incomplete setting, and forwarded the SCORM ZIP file off to the Saba support group. I'm now awaiting to test. Let's hope for the best!


Caroline Bennett

I have an update but it's not good news. :-(

My course is still not recording course completion in Saba 5.4 SP1. I have removed the two hidden slides after the quiz (so when the learner clicks "Finish", the course closes completely). I even tried using the SCORMFunctions.js file provided in the knowledge base article (

So, I have turned over my PPT, quiz, and player template to my client's technical support team. I also referred them to the above KB article. They are going to try and resolve it.

If anyone has any other ideas, please respond! Thanks!!

Judson Terrell

Caroline, sorry you are having trouble. This is a solution I came up with on course completion....

For my clients case, when a user has scored 85% throughout the quizzes, it gets marked completed or "passed". I was only used to scorm cloud which you could pass "completed" to and be finished. However, SABA was a whole different story.

In my case, I keep track of the score each time the user answers a question by setting window.score each time they get one correct.

then once the course is finished with the last slide or video..... i call a function called setComplete that I wrote that does this...

function setComplete(){

        var score_raw = window.score.toString();
        var bookmark = currentVideo.toString();
        var stopTime = stop_time().toString();
        doLMSSetValue("cmi.core.lesson_location", bookmark);
        doLMSSetValue("cmi.core.lesson_status", "passed");
        doLMSSetValue("cmi.core.score.raw", score_raw);   
        doLMSSetValue("cmi.core.session_time", stopTime);
        doLMSSetValue("cmi.core.exit", "logout");
        alert('Congratulations! You have passed this course. This window will now close.');



The ones highlighted are mandatory One thing to note is that when the course is initialized, its a good idea to pass the following...

doLMSSetValue("cmi.core.exit", "suspend");

This was causing problems for me with bookmarking. Also everything has to be passed as a string so notice I set variables and do string conversions in the variables then pass the variables through.

Hope this helps!


ps. I would be curious to know, if you look in your manifest file do you so a mastery score node that has the target score in it?


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