Forum Discussion
Decoding suspend_data Field: Is It Possible?
- 2 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-192 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.