Forum Discussion
SCORM 1.2 Suspend Data--Seems Wonky to My Pea Brain
For the last couple of weeks I've been working on a SCORM 1.2 resume issue for a Storyline 2 course that I'm trying to finish up on for a client. I posted on this previously but that post appears not to be available now in the new forums. So here's an update . . .
First of all, I have to say the Articulate front-line support person that I've been working with has been very helpful and very responsive. Couldn't ask for a better experience there.
Anyway, back to the problem. Basically, I have a SCORM 1.2 course that, after you launch it from the LMS and fail the final quiz, you, say you exit from the quiz results page. When you re-launch the course later to re-try the final quiz, and bookmarking kicks in, you are not returned to the quiz results page but to somewhere in the middle of the quiz to a quiz question that needs answering.
So bookmarking appears not to work right.
After that happened I filed a case and working with Articulate support, we confirmed it was a issue with the amount of resume (of suspend) data. It was exceeding the SCORM 1.2 limit of 4096 characters as nicely described here in the KB.
So, when re-launching the quiz turns out I was being returned to just before the SCORM 1.2 4096 character limit had been reached in the previous session, which makes sense.
So, working from a couple of my own ideas and more suggestions from my fellow Super Heroes (thank you, Steve F. and Phil. M) I tried to reduce the suspend data in the course by trying some of these things:
- Publish to SCORM 2004 3rd or 4th Edition or Tin Can/Experience if you can or LMS supports. (Not an option here--the LMS only supports AICC and SCORM 1.2, and SCORM 2004, for a variety of reasons, is not an option).
- Reduce the number of slides in a course.
- Reduce the # of layers in a course
- Consider using lightbox slides for layers that repeat over many slides or come from masters.
- Set as many slides as you can to "reset to initial state" if you can.
- Reduce the number of questions in a quiz or cut any freeform interactions that you can.
- Use freeform questions instead of text based questions as less data may be sent.
- Reduce the use of longform variable strings.
The course is fairly short, just 50-55 slides. Most slides have a pause layer and transcription layer for displaying narration text. Three of the slides are separate multiple response quiz questions at the end of the topics and 10 slides are simple multiple-select questions for the final quiz.
The course also use a mandated Storyline template that the client had developed by another firm. I had to use that template with little, if any, variations.
The master had 4 layers on the layouts which I was able to cut down to just two by moving two of the layout layers over to two lightbox slides. The other two layers I could not reduce due to the way lightbox slides currently work in Storyline (needed more customization than currently is permitted).
To verify the suspend data overage, Articulate Support had me turning on LMS debugging in the course and send them the log files. So, after providing that for them, I decided to watch the log files myself and record the amount of suspend data after I had moved to a new slide.
If you've not set up a LMS debug file for a SCORM course, this is how you do it.
Actually, kind of fun to watch the debug file generate and see how it builds up with and after each slide in a course. Neat tool.
And this is the line you want to look for in the LMS debug file to see the suspend data.
This command will appear many times as you deal a with a slide (so I was always looking at most latest occurrence of the string in the debug file for my character counts).
For that line, eliminate the "strValue=" and anything before it and then copy the data after (for that line only) and then bring that text into something like Notepad++, and then select all the text to get a character count for the resume data.
And when you exceed the SCORM 1.2 data limit, you'll see a line like this with "intSCORMError=405" in the LMS debug file.
Now my method for recording the suspend data was not exactly perfect as recording the suspend data after moving to a new slide also includes data for visiting that new slide. But I was mainly looking for general trends in going from slide to slide.
Going through simple, click-to-read slides with simple narration seemed to add only 7-20 characters per slide (and usually just 7 characters) when moving to a new slide. Seems like a reasonable number to moi.
However, when looking at the "check your knowledge" questions and the final quiz questions, what I found initially was jaw-dropping. I was seeing well over 400 characters generated for each. So just with my 10-question final quiz, I'd was going over the 4096 character limit for SCORM 1.2 suspend data.
After trying some of the things I listed above to reduce resume data, I was able to get the quiz questions to over 200 characters per question.
But still too much data . . .
This past weekend, I re-created the quiz from scratch using the default plain template in Storyline and nothing else. Quiz questions seemed to now add over 100 characters of resume data--pretty consistently 114-115 characters regardless of the amount of text in the question answers.
Much better but still too much data to my (limited :) ) way of thinking. And I'm left to ask what in the real course itself is causing that number to be even higher?
If there is indeed something in the template causing things to balloon up, it'd be nice if we as developers could know that to prevent that in the future.
Now here's the kicker. I took an earlier version of the course that was done in Storyline 1 Update 5 and published it out to SCORM 1.2 and set it up in the LMS. I went through the course, touching each slide and quiz questions, and failed the final quiz. I then exited the course from the final quiz results page and looked at the last suspend data string sent to the LMS.
Then I opened the same course up with Storyline 2 Update 1 and published it out to SCORM 1.2 and set up a new course in the LMS. I then went through the course exactly as I had before, and answering every quiz question the same. Again, I exited from the quiz results page and looked at the last suspend data string sent to LMS.
I then compared character counts from both trials: The Storyline 2 Update 1 version had produced 32% MORE SUSPEND data.
Now I'm not a programmer and my old pea brain may not understand all what is going on, but I'm left with at least a couple of possibilities . . .
1) Storyline's suspend data generation MIGHT POSSIBLY BE inefficient and could benefit from some tightening. Again, I'm not a programmer but I scratch my head when it takes at least over 100 characters (in a plain vanilla version of the course) and over 200 or 400 characters each in the designed version of course with the mandated template to record my answers to a simple multiple choice quiz question. Something doesn't seem right to me there . . .
2) Something in the course is causing the resume data to balloon up to over 200 or 400 characters when the plain vanilla version only has over 100 characters. But what is that? I'm using Storyline as it is meant to be used, and the supplied template isn't doing anything special or highly customized. So why the difference in suspend character counts? Is Storyline 2 keeping track of a lot of new things as we proceed through a course?
One more kicker--publishing to AICC produced nearly the same amount of resume data as its SCORM 1.2 counterpart (which is good). However the course didn't have the bookmarking problem at re-launch.
AICC has the same suspend data character limit of 4096 characters. But it appears that this LMS was not enforcing the AICC character limit the way it was with SCORM 1.2. An unexpected, but very lucky, result--and a temporary solution.
Unfortunately, using AICC is just an interim solution at best. The client the course is for wants SCORM 1.2 as they will be migrating to a new LMS soon and it may not support AICC. And the new LMS does not support Tin Can yet and they're currently having trouble getting SCORM 2004 3rd of 4th edition to work.
Sorry for the long post but I thought I'd share my recent experience in case it might help someone else in some way. Starting to feel like I'm engaged in one of the labors of Hercules . . . ;)
Hoping I hear something more definitive from Articulate support soon. The QA team is looking at it.
With fingers crossed . . .
- RobertEdgarCommunity Member
I've started a debugging strategies thread:
Come on in, the water's warm...
-Robert
- GerryWasilukCommunity Member
Good post, Stephen. :)
Yup, resume to initial state helps a lot but layers also add something, especially on masters.
- SteveFlowersCommunity Member
The SCORM 1.2 suspend data monster rears its ugly head:) Experienced this again this week with another partner / client. Any progress on adding this concern as a priority?
Hi Steve,
I haven't seen a lot of feature requests (or talk of folks submitting them) in regards to changing how we truncate and compress the suspend data or changing our interaction IDs, so I'd recommend ensuring you and others share your thoughts here.
- JenniferRitterCommunity Member
I've also run into this same problem and have submitted a feature request, as per Ashley's suggestion.
Thanks to everyone who has contributed to this thread. You've all done a fantastic job of investigating, documenting, and explaining the problem.
On a potentially related note (since technical details are not my area of expertise), would a multi-SCO packager feature theoretically be able to help with this?
- SteveFlowersCommunity Member
Hi Jennifer -
Possibly. Breaking a large module down into smaller chunks (A, B, C, D) would mitigate the effects of the suspend data ceiling. But the multiSCO would still be separate SCORM packages bundled up. If you bundled this in a SCORM 2004 package and your LMS handled intraSCO navigation, you could bounce from the end of one to the beginning of another.
Trouble is that all LMS don't handle this the same way:)
This is one of those I'd really love to see solved.
- RobertEdgarCommunity Member
Here is what for me is a related thread. I contributed to this thread because we had lost bookmarks and courses left incomplete, and I suspected the suspend_data string. It turned out not to be that--our LMS did not enforce the 4096 limit. A major cause of loss of bookmarking turned out to be lost connections. So I used the bWarnOnCommitFail variable from Articulate (in the story.html file) to add a pop-up message for the learner whenever the connection between the course and the LMS is dropped. But now I'm having problems with the course not communicating ANY completions with the server--unless the learner finishes the course, closes the course, then RELAUNCHES the course, and then closes it again. On the SECOND close, the LMS shows the completion. Anyone have any ideas on this one?
- GerryWasilukCommunity Member
HI, Robert! Can you remind us of the LMS you are using?
I saw this a few times years ago but am racking my brain to try and remember what we did or what Articulate had us do.
- GerryWasilukCommunity Member
The other issue with multi-SCO's is they usually all have to complete successfully in the LMS for the entire course completion to go through. Should one completion not get through--say, there's some network issue--it can really frustrate the learner. And what module do they have to try and get to complete? Not obvious.
Doesn't happen a lot but I've seen it happen a few times . . .
- RobertEdgarCommunity Member
Hi Gerry. Thanks. The solution to this problem was to use the default "Next" button on the Results page. I wanted to pop on a "Next" button in the "Success" layer, so that only a successful learner could get to a "Congratulations" page that followed. But it turns out that the completion doesn't get sent if that default "Next" button isn't on the Results page. So there ya go.