Skip to main content
Participant
July 19, 2013
Question

Forcing a Commit() to LMS

  • July 19, 2013
  • 2 replies
  • 4214 views

We're experiencing issues with our captivate coureses in Oracle LMS.  I'm trying to used execute a javascript to force the course to send a commit to the LMS more often.

I've tried doing this through a button that would execute g_objAPI.LMSCommit(''); and also go to the next slide.  It doesn't seem like this worked as we don't see any additional commits on the LMS side.

I've tried executing the script to happen upon entering a slide. Again  there was no increase on the LMS side.

Does anyone know how to force a commit to happen through javascript within the course or by modifying the HTML file?  I'm currently working in captivate 6 thought I have 7 as well.

This topic has been closed for replies.

2 replies

TLCMediaDesign
Inspiring
January 10, 2014

There are several commit statements in the scormdriver.js and SCORM_utilities.js file.

You could try any of these to force a commit:

SCORM 1.2 = SCORM_CallLMSCommit();

SCORM 2004 = SCORM2004_CallCommit();

There is also a function CommitData();, can't tell off hand what it is used for, there is a ton of trash no matter which version of SCORM you choose.

Participating Frequently
October 9, 2020

I am having a simular issue, we are dealing with an old LMS, when it disconnects unexpectingly, it does not bookmark.. Would putting this code: SCORM_CallLMSCommit(); into the next button of each page, allow it to save progress.

Russ Lickteig
Inspiring
May 12, 2021

We used this successfully on a course last year.  This same course when tested the other day no longer works when running SCORM_CallLMSCommit();.  Have there been Browser updates that stop this from working?  

January 7, 2014

Did you ever find a solution for this problem?  I would like to do the same thing (using SCORM 2004).

Thanks

TLCMediaDesign
Inspiring
January 7, 2014

What is not happening that you feel you need to force a commit? Are your bookmarks not staying?

You only need to do a commit when data is written to the database. In 2004 using an exit to suspend is more advantageous. We are using an older version of Oracles LMS, Learn.com.

January 7, 2014

Normally the bookmarking works fine for us, but about 10% of the students

run into the following problem.

We have the student go through about 12 slides in our course (slides 3

through 12 are slides which contain videos and last about 6 minutes each),

which takes them about an hour to go through. Then for certain people

they get a communication error and have to close out the course. Then

when these students try to resume the course, they always have to start

over at slide 3 again and are forced to watch the same hours worth of

video again.

I am using Adobe Captivate to create this course. The last course we ran

was using Scorm 1.2. This time we will be using Scorm 2004 version 4.

I just want to make sure that if someone gets a communication error (which

apparently no one has any idea what is causing it) that the student will

be able to actually resume where they left off.

I have heard that when using Scorm 2004, the suspend data and location

only get updated when a commit takes place, and since these students

always get sent back to slide number 3 (the first video slide), then slide

3 must be the only slide doing a commit (behind the scenes).

Therefore, I am trying to figure out what the correct sequence and syntax

for making sure that we are updating our suspend data and location as well

as doing the commit on each of these 6 minute video slides.

Any help would be greatly appreciated.

Randy