So, I'm working on a website in which people can create presentations. The website has a functionality to export the presentations in SCORM format (in 1.2 or in 2004). I am working on this functionality right now and it's my first time meeting SCORM.
So in my presentations there are buttons that can redirect you to other slides. For example you are on slide 4 and the button redirects you to slide 7.
For now I am building the SCORM with one SCO (Sherable Content Object) and all the navigation is handled by a custom navigation bar I made inside my presentation.
So let's go to the actual question. I want to build my presentation without my custom navigation bar so that the navigation can be handled by the LMS (Learning Management System). I did that by creating multiple SCOs (one SCO per slide) but I don't find a possible solution for my redirecting buttons. How can i "jump" from slide(SCO) 4 to slide(SCO) 7 when clicking on a button. Is it possible from the Run Time API, in 1.2 or maybe only in 2004 or it's not possible at all.
EDIT: So I'm trying to implement adl.nav.request
with continue
or continue
in scorm 2004 4th generation but I'm not getting any luck. I made it with the nav request - choice
, but continue
keeps returning me false
After initialization of the Scorm Api which works fine I do:
console.log(ScoApi.api.GetValue('adl.nav.request_valid.choice.{target=4}'));
console.log(ScoApi.api.GetValue('adl.nav.request_valid.continue'));
if (ScoApi.api.GetValue('adl.nav.request_valid.choice.{target=4}')) {
ScoApi.api.SetValue('adl.nav.request', '{target=4}choice');
} else {
console.log('Not supported!');
}
.. and I get true
for the choice
and false
for the continue
from the console.log()
in cloud.scorm.com and two unknown
in Moodle. (Does unknown
mean that the LMS doesn't support them?)
In my manifest I have the controlMode with it's attributes defined like this:
<imsss:sequencing>
<imsss:controlMode choice="true" choiceExit="true" flow="true"/>
</imsss:sequencing>
Choice - Allows learners to select the order in which they view the content.
Flow - Requires learners to view the content in an order defined by the instructional designer
Choice Exit - Controls if learner may select an activity outside the active aggregation via choice.
That's what I read about them. I have tried changing them but the result was the same. What am I doing wrong here? :(
That is my manifest:
<?xml version="1.0" standalone="no" ?>
<manifest identifier="com.scorm.manifesttemplates.scorm2004.4thEd.nometadata" version="1"
xmlns = "http://www.imsglobal.org/xsd/imscp_v1p1"
xmlns:adlcp = "http://www.adlnet.org/xsd/adlcp_v1p3"
xmlns:adlseq = "http://www.adlnet.org/xsd/adlseq_v1p3"
xmlns:adlnav = "http://www.adlnet.org/xsd/adlnav_v1p3"
xmlns:imsss = "http://www.imsglobal.org/xsd/imsss"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation = "http://www.imsglobal.org/xsd/imscp_v1p1 imscp_v1p1.xsd
http://www.adlnet.org/xsd/adlcp_v1p3 adlcp_v1p3.xsd
http://www.adlnet.org/xsd/adlseq_v1p3 adlseq_v1p3.xsd
http://www.adlnet.org/xsd/adlnav_v1p3 adlnav_v1p3.xsd
http://www.imsglobal.org/xsd/imsss imsss_v1p0.xsd" >
<metadata>
<schema>ADL SCORM</schema>
<schemaversion>2004 4th Edition</schemaversion>
</metadata>
<organizations default="158ltd.omo.org">
<organization identifier="158ltd.omo.org">
<title>sdasdf</title>
<item identifier="course_main_folder">
<title>sdasdf</title>
<item identifier="3" identifierref="54182fce77661">
<title>1</title>
</item>
<item identifier="4" identifierref="54182fce77b28">
<title>2</title>
</item>
<item identifier="5" identifierref="54182fce77ebd">
<title>3</title>
</item>
<item identifier="54182fce786c7">
<title>visible group</title>
<item identifier="6" identifierref="54182fce784f8">
<title>Wooho</title>
</item>
</item>
</item>
<imsss:sequencing>
<imsss:controlMode choice="true" choiceExit="true" flow="true"/>
</imsss:sequencing>
</organization>
</organizations>
<resources>
<resource identifier="54182fce77661" type="webcontent" adlcp:scormType="sco" href="content/slide_3.html">
<file href="content/slide_3.html" />
</resource>
<resource identifier="54182fce77b28" type="webcontent" adlcp:scormType="sco" href="content/slide_4.html">
<file href="content/slide_4.html" />
</resource>
<resource identifier="54182fce77ebd" type="webcontent" adlcp:scormType="sco" href="content/slide_5.html">
<file href="content/slide_5.html" />
</resource>
<resource identifier="54182fce784f8" type="webcontent" adlcp:scormType="sco" href="content/slide_6.html">
<file href="content/slide_6.html" />
</resource>
</resources>
</manifest>