Forum Discussion
Rise 360’s new Custom Code Block — how far can it go to replace the need for Storyline blocks?
Hi John,
I applied the updated code, thank you, and it worked beautifully. I didn't have an interest to save to PDF, so I didn't pursue further.
Here's what I did notice. I tested using the code for additional reflections in different lessons in a Rise course and when I entered my test text entry in one lesson and then went to the next lesson with the reflection code, I saw my text entry in the reflection text box from the previous lesson. When I inserted new text in the 2nd reflection then went back to the first, my text entry from the second lesson carried over to the first.
I tried some other code assistance, but to no avail, could we solve it. Do you happen to have any ideas on what might clear the reflection entry for each time the reflection appears in the course?
Just thought I'd try here.
Thank you! Luv your work!
Lisa
- JohnCooper-be3c2 months agoCommunity Member
If you are retrieving the previous lesson's text input it may be that you aren't changing the stored variable name for each lesson. In the code there is a line:
// Each lesson uses a unique key (example: eNotes1, eNotes2, eNotes3)
const STORAGE_KEY = 'eNotes1';
You need to change this for each lesson. So lesson 1 would be eNotes1, lesson 2 would be eNotes2 and so on.
Or am I misunderstanding the problem??
Best regards, John
- KathryneMagn38714 days agoCommunity Member
This is so exciting to explore. I haven't dipped my toe into capturing notes for export to PDF, either in Storyline or Rise yet. Rise would be so much simpler. Do we feel confident that this approach is stable? I saw your note that you had to take two courses down because the feature stopped working over time.
Related Content
- 5 months ago
- 3 months ago
- 12 months ago
- 5 months ago