Searching online, I found some JavaScript code written by Sam Hammond in one of the Storyline forums. After modifying his script and testing it, I have the final process to achieve what I wanted.
Now that the file has been altered and saved on your local drive, it is time to zip the files into a SCORM package and get it ready to upload.
Back in Storyline, your buttons should still be open where you previously selected "Open." This time, select "Zip" to zip up all the files and prepare them for uploading to the LMS.
In the ADP LMS, you can run report R308A and get a report of student interactions with the learning module. Only this time, you should see the Storyline Scene and Slide number inserted in the Course Objective Column, and the text of the questions in the Question ID column for the reported quiz.
Click on the LMS Report image above to enlarge.
This image shows the progress (from top to bottom) of my success in modifying the JavaScript code written by Sam Hammond to get the ADP LMS to report what I wanted. Here is what you are looking at in the image:
1. Pink - I got the LMS to insert the words from the question text, but also reporting the name of the variable "strDescription" in-between the words.
2. Orange - This time I got the "strDescription" variable text removed, but I neglected to put in an underscore for spacing between the words in the question text.
3. Yellow - Adding an underscore to the code makes the question text more readable.
4. Green - Now that the question text was being reported, I switched two variables to make the Course Objective column to stop showing the name of the course and instead now show the Scene and Slide number from the Storyline Project that created the SCORM module.
Technically, the SCORM 2004 modules that I originally uploaded to the ADP LMS contained the question text data. From what I have read, this is standard with a SCORM 2004 module.
Running the Storyline module from the LMS in Debug Mode allowed me to verify this, because I could see the text from the questions displaying. They were showing up as being associated with the JavaScript string variable (text variable) called "strDescription."
Also, in debug mode, I could see that the Storyline Scene and Slide numbers were being stored in the string variable called "strID."
The variable that was displaying the course name repeatedly in the Course Objective column was "strLearningObjectiveID."
Click on the LMS Debug image above to enlarge.
This image shows the data displayed during an LMS debug run of a SCORM 2004 module made in Articulate Storyline running on the ADP LMS.
The highlighted portions are where I could see that the Storyline Scene and Slide numbers were being stored in the "strID" variable, and the question text was being stored in the "strDescription" variable. This led me to conclude that the SCORM 2004 module really did contain the question text, but the LMS was apparently not reporting information in the "strDescription" variable, at least not in the R308A report. Modifying the JavaScript code in the published SCORM module allowed me to swap information from variables and have the question text from the "strDescription" variable appear in the Question ID column.
The JavaScript code is replacing information from one variable into another. I thought it would be logical to take information out of the "strID" variable first before replacing it with something else, because I was afraid I would lose the initial information in it.
Therefore, the second line of code is replacing the "strLearningObjectiveID" (which displayed the course name repeatedly), with the Storyline Scene and Slide numbers (which was being recorded in the "strID" variable).
strLearningObjectiveID = strID.replace(/[ \t\r\n\v\f]/g, "_");
Then, the third line of code, takes the "strID" variable (which originally recorded the Storyline Scene and Slide numbers) and replaces it with the question text (which was being recorded in the "strDescription" variable).
strID = strDescription.replace(/[ \t\r\n\v\f]/g, "_");
Therefore, when the ADP LMS runs a report, it now displays the Course Objective column with information from the "strID" variable (Storyline Scene and Slide numbers) and displays the Question ID column with information from the "strDescription" variable (question text).
Let's start a discussion!