Copy link to clipboard
Copied
Hi
We are creating an LMS and need to write code to track progress for scorm files created in captivate. We understands progress is described in this piece of code (code...)
Captivate cmi.suspend_data - my dad thinks in Captivate it's hidden somewhere here:
{ "cmi.core.lesson_status": "completed", "cmi.core.lesson_mode": "normal", "cmi.core.lesson_location": "Aims%20and%20objectives%20", "cmi.suspend_data": "C1A%24nP1A%24nP1A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nP0A%24nPDTcpQuizInfoStudentIDBAVcpQuizInfoStudentNameAJundefinedQcpQuizHandledAllBA$_#-#_$", "cmi.core.exit": "suspend", "cmi.core.session_time": "0000:00:28.24" }In Adapt here:
Can anyone help us with understanding this logic? How can we extract progress? When the course is complete zeros turn into ones but the algorthythm behind it in unclear.
Thanks
Paul
Copy link to clipboard
Copied
First off the %24 is the code for a dollar sign, which is used as a delimiter to parse through the suspend data.
I haven't actually looked at the code recently, I believe it's different than a few versions ago, but the P0A is used to designate the status of each slide.
C1A would mean the slide has been completed
P0A would mean the slide has not been seen.
There used to be a sequence with a "B" that meant the slide was visited, but not completed.
The code in the suspend_data is not as important as the code in the other SCORM data model fields that Captivate will try to write to.
If you are going to write you own LMS, you would be much better off to not publish to SCORM and write you own JavaScript back end to track what you need.
Copy link to clipboard
Copied
Thanks for taking your time to reply. Ill pass this on to my developer.