Forum Discussion
JohnnieMoore
1 month agoCommunity Member
Ppass and retrieve custom variables for MOODLE?
Anyone know how to pass and retrieve custom variables for MOODLE?
- 1 month ago
Storyline side I would point you to threads like this one that show quite a bit of the javascript required to set and read SL project variables. Moodle side I would leverage your favorite search engine or AI coding assistant to find workable code. Sorry, I cannot share code I've written for clients.
SBP_Inc
1 month agoCommunity Member
I've had to add javascript on both the Moodle and Storyline sides to pass custom variables. Publish the SL as SCORM then use the lmsApi to exchange data, and set variables in Storyline as needed.
JohnnieMoore
1 month agoCommunity Member
Thank for your response.
Could you post the scripts for both storyline and MOODLE? I am not very familiar with javascript, espcially in MOODLE.