I need help with Captivate 18.104.22.168 - on Windows 7
I don't want to use slides viewed OR quiz score to send a completion to the LMS
var CaptivateObj = document.Captivate;
I have tried setting the script to Top, parent, current, new - and have tested a TEST Captivate SCORM package on SCORM Cloud
IT doesn't work - that is, it doesn't send a completion
I will try this right now - I have really struggled to find ANYTHING out there on script to send a SCORM completion
(remove any console.log() statements from production code since IE will throw an error on it)
OK - will try this
Hi Dan - same result with adding to ON ENTER - still getting an incomplete when tested at SCORM cloud
Like I said, add the console.log statement to ensure that your code is even running, and/or there are no errors showing up in the console
Copy link to clipboard
Those are old SCORM calls. The "g_objAPI" doesn't exist.
Since these functions exist outside of Captivate, you do not need to funs the Captivate object.
Thanks so much for the new code - I will try this right away
I always use the default "current"
AWESOME - AWESOME - AWESOME!!!!
IT WORKED - thank you so much - WOW
The only thing is that it exited at the completion - which is probably the SCORM_CallLMSFinish(); command
I will take that out - so I just have Commit
I was looking out for similar solution and found you have answered it.
I am newbie and not from programming background. Can you help me what is current and when should we paste the code to let LMS know the course status is complete.
Thanks in advance.
Just paste the code on Enter of the slide where you want to register completion.
If I understand you correctly "current" is the window the script should be executed in. In this case and almost all cases, it should be "current".
Hi there, I wanted to share my experiences.
Using Captivate 2017 and SharePoint LMS.
The following works well with SCORM 1.2 but NOT with SCORM 2004. Need to specify that I hook the script to a button, not to OnEnter event.
The following works neither with 1.2 nor with 2004
I am ok with it since 1.2 works well for me. However, from purely theoretical point of view, what is that I am missing?
PS. Great blog TLC guys! BTW, can one use the Console of the F12 Developper tools change the status from there?
Brilliant! Worked for me! Thanks for posting!
Note that SCORM_objAPI.LMSFinish(''); closes the window/exits the course, so making a trigger on a button makes sense.
Then have an exit button where I just use the built-in Exit trigger.
Hey All, Nice to see this for SCORM, any chance there is a version that will work with AICC?
Never used AICC, but you can try this:
Thanks, TLC. This worked perfectly with SCORM and EdApp.
Much better than Captivate's Success/Complete Criteria.
Put your code on an EXIT button, and the course is exited and a "completion" is recorded. PERFECT!
Most of the solutions provided here are dependent on the particular protocol (SCORM 1.2 / 2004, AICC, etc)
I have found that if you simply the run the line below built in functionality will use whichever protocol is appropriate and send the completion status.
For scorm 2004 set completion status use below code in the end of the slide.