Forum Discussion
Decoding suspend_data Field: Is It Possible?
- 8 months ago
Yes, you can easily decode the suspend data. Rise uses the lzwCompress library. https://www.npmjs.com/package/lzwcompress
Here is a CodePen example on how you can decode it. https://codepen.io/John-Pinkster/pen/qBzENJR
Word of caution: don’t try and update this data as the Rise course logic will just override what you put in there.
Thank you so much for the quick responses and helpful tipps! JoseTansengco your attached article states that the course itself can decompress and read suspend_data. Now, regardless of the LMS, I would like to evaluate a user's learning progress by doing the same. Is it therefore possible to decompress and decode suspend_data, as the course itself can do? In the best case programmatically?
Cheers!
- JohnPinkster-198 months agoCommunity Member
Yes, you can easily decode the suspend data. Rise uses the lzwCompress library. https://www.npmjs.com/package/lzwcompress
Here is a CodePen example on how you can decode it. https://codepen.io/John-Pinkster/pen/qBzENJR
Word of caution: don’t try and update this data as the Rise course logic will just override what you put in there.
- HKJCHKJC16 days agoCommunity Member
Thanks, this helps a lot!
By any chance you would know the data structure of the json data stored in the Suspended_Data as well? eg. which field(s) represents to what, etc?
Like "c" i would guess this is completion? And "c: 1" means the learner has completed this item? But what about "i" and "p"?
I'm trying to find out what causes the Continue button locked/or not showing/learner cannot proceed to the next chapter while completed all the required items for my learners and running into a dead end here. Continue buttons disappearing | Articulate - Community
First i thought it could be because the client end is getting a bad copy of the data/files from the LMS. Since this run into a dead end, i'm now trying to look and see what else could be the cause, or at least could give me some hints on where to look next... 😥
Attached is the suspend_data extracted from one of the cases. The learner is "stuck" at the end of the Chapter 10. I have gone through the chapter with the learner, all the interactive items/quiz have been completed. But it keep saying "Complete the previous knowledge checks to unlock this lesson"... (there are other cases as well, like the Continue button is not showing, or saying similar things.. asking user to complete previous items). Oh one thing, this happens only to some of the learner, not all the learner. Thanks in advance for anyone's help 🙏