I have a trigger in Storyline that sends the learner's notes made within the course to the specified email address. I was the subject of the email to contain the title of the course in which the learner is sending their notes from. I can easily hard code a variable with a subject, but we have over 400 courses so streamlining this process is a huge plus. Is there a way to get the title of the course using JavaScript?
Sorry I wasn't more specific. I'm looking for the feature that allows learners to take notes and email them to themselves within a project. Like mentioned above, thanks so much!
6 Replies
I have noticed that the title of the page is also the title of the course. I would try:
var CourseTitle = document.title;
Is this feature available in Storyline 360? If so, where can I go to learn how to do it?
Thank you!
Hello Arika,
You can retrieve the course title using Javascript. I have attached an example for you to take a look at.
In the example, I created a Text Variable called: CourseTitle.
There is a button that executes some Javascript to retrieve the course title.
var player = GetPlayer();
player.SetVar("CourseTitle",document.title);
Sorry I wasn't more specific. I'm looking for the feature that allows learners to take notes and email them to themselves within a project. Like mentioned above, thanks so much!
Matthew Bibby has put together a nice tutorial on how to do this.
https://community.articulate.com/discussions/building-better-courses/tutorial-populating-an-email-with-content-from-storyline
Thank you!
This discussion is closed. You can start a new discussion or contact Articulate Support.