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 . . .
79 Replies
- JustinStaff
Hello again, Gerry and Steve.
Thanks for being so persistent, guys. We appreciate you keeping us in check, and I apologize if I missed the crux of this thread. I may have had tunnel vision on the question, "Does Storyline's suspend_data really need to be so large, or do we have a potential bug here?" It seems that there is more to to your concerns than that, and here is what I am hearing:
- You'd like to have better documentation on precisely which slide objects and properties impact the size of our suspend_data. For example, is it worthwhile to reduce the number of slide layers, or is it not?
- You'd like to see us restructure our suspend_data to prioritize the most important data elements at the front of the string. For example, we might decide that scores are more important than interaction results, so scores should therefore go first.
I'm happy to try and advocate for these requests, but I think I need Steve to clarify one thing first... Given that we compress our suspend_data, is it really helpful to prioritize the data within? Here's my train of thought, which may or may not be accurate:
- If I want to email a large text file to a friend, I might decide to zip it first.
- Let's say that the zip file is truncated in transit for some reason.
- Upon receipt, I wouldn't expect my friend to be able to read the portion of the file that didn't get truncated. I'd expect my friend to not be able to unzip the text file at all.
Is this an accurate analogy, or is there something unique about the way suspend_data is compressed that would allow the intact portion of a truncated, compressed string to be readable?
Thanks again, guys!
- SteveFlowersCommunity Member
Hey Justin -
When the data is truncated, it will consistently drop back to about half of the slides. So I suspect the compression is somewhat serial in nature as *some* of the slides are being tracked as visited when the data flows over the limit. Since variable strings are stored uncompressed, I suspect most elements are compressed in chunks / blocks.
I haven't yet started poking around the methods used to compress and decompress the string. Knowing what order things are compressed, as a model, could help with construction decision-making. For example, what restore states / layer properties / variables, etc.. could be set to optimize the string.
The storage of question data is also a bit of a conundrum. It seems like it's storing the full string of the response rather than the state of the selected choice. Seems like there's some optimization to be had there, as the player shouldn't care about anything but the state of the choice for review.
S
- GerryWasilukCommunity Member
Thanks, again, Justin, for taking this so seriously and your thoughtful response. :) Yes, for the near term, I'm more concerned with #1 as that, if done, could be implemented quickly without software changes, which, if they were to happen, would probably take a while,
For the long term, #2 sounds appealing as a avenue of research, along with Steve's conundrum of how question data is stored.
Again, appreciate your response and Articulate considering this. THANK YOU! I know supporting the "past" (AICC or SCORM 1.2) is often not as exciting as the "now and future technologies" (like Tin Can) but, unfortunately, some of us are forced to live in the past due to client requirements.
- JustinStaff
Thanks, guys.
As always, no guarantees, but I'll certainly share the information internally. Thanks again!
- RobertEdgarCommunity Member
Hi Justin and all,
I find myself having gone through the above process of discovery, and ending up at exactly the same question: What Storyline elements are the heaviest for adding to the resume data, and which are lightest? SCORM 1.2 is the most stable and most used SCORM version in the industry, so having some informed strategy for managing its resume data would certainly benefit a significant portion of Storyline users. I see that this thread has been quiet for 3 months. Any suggestions?
Thanks
- RobertEdgarCommunity Member
Also-in Gerry's excellent post that started this thread, he listed several ways he'd come up with to reduce the accumulating length of the resume data string, including:
- 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.Are freeform interactions and questions something we should try to avoid, or to use? I'd think the former, but I may be missing a distinction here.
Thanks again.
- GerryWasilukCommunity Member
An update . . .
First, the list of "several ways" to "reduce the accumulating length of the resume data string" in my post was really the product of some of us Heroes, particularly Phil Mayor, Steve Flowers, and myself. Wasn't just me. Have to give credit where credit due. :)
Steve and I got a nice note from Articulate concerning the issue. We gave them some ideas and thoughts. Have not heard much since.
In my case, the issue was affecting two projects for two different clients. One client was using Saba and the other Totara (aka Moodle 2.6). The solution for both was to publish to AICC. AICC is supposed to have the same character limit as SCORM 1.2. However, for both LMS's, this limit was not enforced.
New version(s?) of Moodle (2.7, if I remember right) have a config switch to ignore the character limit for SCORM 1,2, so for one of my clients that might be their workaround for now. Other LMS's may possibly have this option also.
I still believe for those LMS's that have the strict character limit for SCORM 1.2, some more further help or documentation from Articulate would be nice.
RE: "Are freeform interactions and questions something we should try to avoid, or to use? I'd think the former, but I may be missing a distinction here. "
I'd say the answer is "it depends. " So much, at least to my pea brain, is dependent on what else you are doing in the course (e.g, how many other interactions, what kind, how many quiz questions, layers on master slides, etc.).
- RobertEdgarCommunity Member
Thanks for the update, Gerry.
We're using PeopleSoft's ELM 9.1, and it does enforce the 4096 character limit. So that option isn't open. It does support SCORM 2004 v3, but I haven't tested how robust it is yet, and so for short term am looking to manage the resume data string.
It seems like a listing of stock Storyline interactions ranked by size of their additions to the resume data string would be most helpful. If this varies with some aspect of its use (size or number of movable graphics etc.) then an added note that calls an author's attention to that fact would be useful. It's like a calorie count on the menu of a fast-food restaurant. Let us choose our own poison based on some known data.
- GerryWasilukCommunity Member
Well, hopefully, you can test SCORM 2004 v3 and it can work well, especially as its character limit is 64,000.
For one of my clients, the one using Saba, even though that LMS was supposed to support SCORM 2004 v3, the way Saba implemented SCORM 2004 was so #@#@!#@!#@!#@!# that it was not usable. Got some great help from Articulate, SCORM.COM, and Saba itself but working together we couldn't work around the issue.
Also, back in the days when Articulate 09 first came out we ran into issues when the Saba LMS divided the resume data into multiple database records because the field for the resume data could only hold so many characters.
Every time the suspend data required more than one data record, a Presenter 09 course would act wonky on re-launch for a learner. Among other things, bookmarking never worked.
We never found out what was the problem but we strongly suspected the LMS was doing something with the resume data during initial LMS save or returning it wrong to the Articulate content when it reassembled it into one string on content re-launch. Most often, the quick fix there was to turn off resume for any embedded Engage interactions or Quizmaker quizzes/questions so the resume data could get down to only taking one LMS data record.
Fun problems to debug! :)
- RobertEdgarCommunity Member
The worst problems are always between products...
When you say "turn off resume", in Storyline that would be setting the individual screen to "reset to initial state", right? Which I notice doesn't cut all addition to the suspend data string from that screen, but should hold it to a minimum (perhaps just the bookmark to the screen), am I correct? BTW, thanks for the help on a Sunday!
Related Content
- 12 months ago
- 11 months ago