Retrieve CMI.Interaction.N.Student_Response Value in SCORM - scorm

I am currently building SCORM content. I have managed to get my SCORM API to save question response to the SCORM LMS. However, I can't find a way to get "cmi.interaction.n.student_response" value.
From what I have been reading, "student_response" is write only. So what SCORM reference should I use to retrieve my value?
I am using SCORM 1.2.

In SCORM 1.2 unfortunately interactions are write only and cannot be read. If you need to retrieve these values for later you should store them in suspend data. In SCORM 2004, the interactions values are read-write.

Related

How to utilize xapi or scorm content packages

I am coding an LMS. Backend and UI is almost ready. Our first intention was to code our own content studio but using existing studios are way quicker. We want to use rise and rise gives the following exports:
This is a github repo of xapi and scorm 2004 exports. As you can see, index.html (scormcontent/index.html in scorm2004) is working perfectly. UI is intact and it is saving progression value internally.
My question is how can I get that data and save it to my own database (I know how to use a database, I just cant get the data stream from scorm).
After I save those values to my database, I also need to insert them back into the scorm or xapi when the user opens website.
If you guys can just show me how to retrieve that data, I can do everything from there. I read something about an endpoint??
Note: Functions at the bottom of index.html such as finishQuiz() are not working, at least I couldnt make them work.
Another Note: I really don't want iframe please
See my answer to Get the scorm values from the LMS
SCORM is a set of standards defining not only APIs for communication but also structures for packaging learning content. You will need to implement one of the SCORM APIs (SCORM 1.2 is probably easiest if you want to support most authoring tools and don't need any of the advanced sequencing features of SCORM 2004) or xAPI.
If you are going to implement xAPI you will want to look into how to implement it as an "LRS" (i.e. the server that consumes xAPI data from a learning activity) as xAPI doesn't normally refer to LMSes. Since you will also want to serve the content rather than just consume the data they generate, you might want to opt to implement cmi5, which builds on xAPI to also define a packaging format to replace SCORM.

Track Flash Based Course Percentage

I'm developing Flash module with AS3 now. I need to package it with SCORM 1.2.
I want to track percentage of the user when accessing my flash module. My flash module consist of single file that loads swfs. Let's say I should loads 10 swfs. When the user load 1-5, i hope it tracked as 50%.
Is it possible to do with SCORM 1.2?
I'm fairly familiar with flash but new to SCORM. I've stumble upon the Philip Hutchison's tutorials and several SCORM 1.2 document for from ADL for several days. So far haven't manage a success.
Since SO doesn't allow someone with as little rep as I to comment and ask for clarification, I'm going to have to go by assumption for some of this. The short answer is no. However, it depends what you plan to do with that progress percentage in the end.
If it is to be used in some sort of report or display within an LMS, you'll need to use an official element for just such a thing, and hope your LMS can use it. Unfortunately, SCORM 1.2 won't cut it for you there. In SCORM 2004, however, you can utilize the "cmi.progress_measure" element. See section 4.2.18 in the SCORM 2004 4th Edition RTE specification. Note: It is common to see completion percentage in an LMS related to multi-SCO packages, where the percentage of completed SCO's within a package is displayed - especially in the case of SCORM 1.2.
If the requirement is to simply store the current slide number or total number of slides viewed for the sole purpose of having this percentage value available to the SCO itself, you can simply store and retrieve this value using the "cmi.suspend_data" element in either 1.2 or 2004.
Now, using Flash's ExternalInterface to communicate between Flash and Javascript is a different question entirely. And so is how to utilize the SCORM API once you have the rest in place. Again, I cannot comment to request clarification, so I cannot say for certain what the question is exactly.

Quiz answers are not retained on relaunch of Scorm

I am using Scorm 1.2. Here I am unable to display the quiz answers given by the user on relaunch of Scorm Package.
Please let me know the process to store quiz results as I am already saving this data in cmi.interactions.
Actually it is happening only in Chrome as the cookie is null while relauching.
Rest all browsers it is working fine.Is there a way to resolve it
Sounds like something is getting packed into a cookie? If so, thats not SCORM technically. But as mentioned prior SCORM 1.2 interactions were optional and may not be supported by the LMS. Therefore you may be packing them into a cookie?
If it's using SCORM 1.2, you can try my bookmarklet to see what an active session is storing. http://www.cybercussion.com/bookmarklets/SCORM. I built it for 2004 first but added some base SCORM 1.2 in as well which may help with the transparency.
Check whether the hosted LMS supports cmi.interaction elements. At SCORM 1.2 most of the elements are optional for LMS implementation. Check for below error codes,
Error code, LMSGetLAstError()
401 - Not implementation error.
205 - Incorrect data type.
Also make sure set cmi.exit to "suspend" to resume with the saved SCORM data on subsequent launch.
Please refer the RTE documents (https://stackoverflow.com/a/17700430/1341062) for more details,

Storing information inside LMS, SCORM

I was reading this pdf 'SCORM users guide for programmers' which i downloaded from ADL website, and I get to know that we can only store some specific set of information in LMS; like learners name, score etc.
I was wondering can I make an SCO which could store my OWN set of information inside LMS. Like suppose if I was making an assessment SCO how would I store the answers which the learner give to each question, and later fetch it from LMS somehow? Is it possible anyhow? storing my own information inside LMS?
Kind Regards,
Thanks
SCORM doesn't currently have a mechanism that allows for extensions to store specific new data elements.
It does however provide you with storage buckets that you can use to store your own data in a textual format for later retrieval. This will allow you to store and retrieve data, but it will not generally be understood by the LMS. cmi.suspend data is the most commonly used field for this purpose. In SCORM 2004 4th Edition, there is also a bigger and more robust adl.data structure.
If you want to report learners' responses to questions, there is a set of SCORM data model elements for that. Look at the cmi.interactions collection in the SCORM Run-Time Reference Chart.
If you really do need to start storing more expressive data than what SCORM currently allows, you should look at the upcoming next generation of SCORM, the Tin Can API. That's not widely deploy yet, but you will start to see early implementations in the next couple months.

scorm 1.2 + declaring objectives

I have been looking all over the internet for resources but I cannot seem to find any that describe what I am looking for. I am trying to find out how to create learning objectives ("cmi.objectives.n.id") in scorm 1.2. I dont know whether they need to be declared in the imsmanifest file like they do in scorm 2004 or whether they are created at run time. Either way desperately need to know how to create them. I have found lots of resources on how to do this for scorm 2004 but I cannot find any for scorm 1.2.
Help is greatly appreciated.
if I am not mistaken in SCORM 1.2 you don't declare objectives in the imsmanifest.xml file, you can only LMSSetValue() them at runtime. Keep in mind that the LMS is not required to store them permanently, but only during the SCORM session (between LMSInitialize() and LMSFinish()).
The same holds for interaction in SCORM 1.2

Resources