How to detect "Browse" mode?

May 17, 2013

I have a JavaScript that needs to know the "entry mode" for the course. In SCORM 2004 this is "cmi.entry" and in 1.2 it is "cmi.core.entry". The values are ab-initio, resume, and "". Can anyone provide a hint on where I can find the mode (so I can store it into a user variable and access it from there), or how I can get the value directly from the API? I have tried using "parent.GetEntryMode()" but it doesn't resolve.

2 Replies
Keith Doney

In case someone else hits the same issue, I wound up using the call below to determine the entry mode for the SCORM package.

       var modeOfEntry = parent.lmsAPI.GetEntryMode();

The following constants are defined in APIConstants.js:

    ENTRY_REVIEW            1

    ENTRY_FIRST_TIME     2

    ENTRY_RESUME           3

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