Message Boards Message Boards

Back

Storing selected course global variables to SCORM LMS

Threads [ Previous | Next ]
Toggle
Hi. I've managed to get all course global variables writing to the LMS and can also read them back on course launch. However, given the Suspend Data string character limitations of SCORM 1.2 (only 4,000 characters compared to SCORM 2004's 64,000), is there a way to only store selected variables in the LMS and so reduce the string length? Thank you.
0 (0 Votes)

RE: Storing selected course global variables to SCORM LMS
Answer
11/4/24 6:43 PM as a reply to Jason Baker.
Hi Jason,
Great question! We usually recommend that you use the built in Bookmarking template to automatically store/retrieve all variables.

However, you can store only certain variables. It just requires you to manually set up the map you want to store, and to be careful with the naming. I would definitely test test test. Here's a simple case with the actions you need (see attached image). You'll need to integrate it with the bookmarking logic (see the Bookmarking template) to have it work automatically onPageChange/onPageLoad. Of course, any variables that you DON'T include will be lost when you launch the lesson again, but can still be set by the lesson as the learner goes through the lesson again.

Hope that helps!
+1 (1 Vote)