Forum Discussion
Built-in scene title variable?
I may not understand how everything works, but it seems to me that the SCORM module can communicate scene information to the LMS, at least when it comes to question slides. It may not be one of the built-in variables to which Nedim refers, but the information is there.
When running a SCORM module in troubleshooting mode, something called "strID" seems to capture the Scene number and Slide number. That information can then be seen in an LMS report.
Using some code written by Sam Hammond that I modified, I was able to move the Scene and Slide number info to the Course Objective column and replace the missing Question ID column information with the Question Stem text.
Again, I may not understand how everything works, but is the "strID" something that can be tapped into as the recorder of Scene and Slide # information? Even if it is not a built-in variable, could it be accessed within the Storyline project with a trigger, or with JavaScript and a trigger?
(Images are also attached if the posted ones are too small to see.)
There is some additional information about your published project available in the DS object (accessed in JavaScript like a variable as window.DS). Information such as the scene number and the generic scene name (e.g., 'Scene1', 'Scene2', etc.) can be accessed there. It is available with or without the side menu being included as part of the project. The scene title text however does not seem to be stored in there anywhere I could locate.
To access the current scene number or generic scene name as Kendal suggested, you can use these JavaScript lines
let sceneGenericName = window.DS.windowManager.getCurrentWindowSlide().parent.attributes.lmsId
let sceneNumber = window.DS.windowManager.getCurrentWindowSlide().parent.attributes.sceneNumber
Related Content
- 9 months ago
- 4 months ago
- 9 months ago
- 9 months ago