Java to email notes within Storyline
Feb 25, 2015
I have something strange happening. I tested javascript that allowed users to open an email pre-populated with notes they had entered throughout the course. We use Moodle. I tested it in Moodle before recording narration and it worked perfectly. I recorded the narration and uploaded to Moodle and now it does nothing when I click the icon set to execute the script. Any idea why it won't work when the only difference between this version and the one I tested is the addition of narration? Unfortunately, I didn't "save as" that file from before, but I didn't mess with the code at all since I successfully tested it. Any ideas? Does anyone have a proven javascript to email from Storyline?
This is what I am using (my variables are in " "):
var player = GetPlayer();
var email=GetVar("email");
var subject="My notes from ELL course";
var body_start=GetVar("notes");
var mailto_link='mailto:'+email+'?subject='+subject+'&body='+body_start;
win=window.open(mailto_link,'emailWin');
4 Replies
Hi Carmen,
Maybe this post will help: https://community.articulate.com/discussions/building-better-courses/user-notes-that-they-can-print-and-email
Cheers, Veronica
Thank you. I tried this with the changes to my own variables names and it works perfectly.
Glad that Veronica was able to assist you here Carmen :)
Great news!
This discussion is closed. You can start a new discussion or contact Articulate Support.