I am able to pull the user's name from the module and use it in a HTML file. The below code works if the file is in the same folder as the storyline file.
var player=window.opener.GetPlayer(); var learnerName=player.GetVar("learner");document.getElementById('learnerName').innerHTML= learnerName;
But I want to move the file outside of the module folder structure so it can be used by several modules. When I do this, the variables no longer show in the HTML file.
1 Reply
Hi Julie! We do not support the modification of the published output. Perhaps someone in the community will be able to assist you with this.
This discussion is closed. You can start a new discussion or contact Articulate Support.