External data
Sep 12, 2019
I am looking to make a customized learning experience that will change each semester for over 150 learners. My thinking is that an external XML file would be the easiest solution. I can get the student name from SCORM and I can insert indexed data from XML using JavaScript into Storyline. As a novice coder, the challenge I am facing is setting the right variables based on the lecturer name. How do I set the variables based on the learner's name sourced from the SCORM API?
Any help would be appreciated and I have already seen the best practices page :)
XML and Javascript are attached
2 Replies
Got it working :) The main issue was removing an extra blank from the name when rearranging lmsAPI.GetStudentName(); into first "space" last name format. From there I was able to search the XML and pull in the relevant data.
Here is the storyline file. Publish then copy the xml to the root folder before zipping and uploading it to Moodle.
Note you will need to change the staff names in the xml to match users on your LMS otherwise it will have nothing to find :)
This discussion is closed. You can start a new discussion or contact Articulate Support.