November 5, 2018
Exit Command
Comments
(3)
November 5, 2018
Exit Command
Newbie 2 posts
Followers: 1 people
(3)

I am creating a sample module with three slides, scorm 2.1 compliance.
the exit command is on the last slide, but the module is not being close.
in order to close I have to use the close button from the lms.
I am using Forma.lms ver 2.0 and captivate 2019.
The things that I try so far:

1) On exit: Exit (does not work)

2) create a textcaption with an X, hyperlink to Execute javascript:
window.top.close(); (does not work)
also try window.close();

3) create a smartshape to be used as a button:
on success: Exit (does not work)

4)Try executing this JavaScript on Enter of the slide
where the exit button is:

window.onunload = function()
{
SCORM_CallLMSSetValue(“cmi.core.exit”,”logout”);

SCORM_CallLMSFinish();
};
(does not work)

5) In the Utilities.js file. I try changing the function DoCPExit to:

function DoCPExit()

{
var win=window.open(“”,”_top”,””,”true”);
win.opener = true;
win.close();
}
(Does not work)
I also try several way to close the Iframe using Javascript to not avail.
The exit command work fine with Articulate, iSpring, etc in Forma.lms

I am using captivate 2019…

thank

3 Comments
2019-03-14 12:20:41
2019-03-14 12:20:41

same issue, exit button not working. There is an error related to the DocPExit(). Can someone provide a solution?

Like
2018-11-06 20:19:36
2018-11-06 20:19:36

The issues is not with the LMS but with Captivate 2019 and the function DoCPExit() on the Utilities.js file.  There is not call to LMSFinish() for SCORM 1.2 or Terminate()” for SCORM 2004. As a result there is not exit. The solution is to create a button On Exit Execute Javascript:  SCORM_CallLMSFinish(); for SCORM 1.2

 

Like
2018-11-06 09:21:26
2018-11-06 09:21:26

Did you try your solutions out on SCORM Cloud? If some are functional there, you have to look for the issue in the LMS.

You talk about SCORM 2.1??? Do you mean 1.2 or 2004?

Like
Add Comment