Help button that will send an email with slide title

Sep 19, 2019

We have created a presentation for our annual benefits enrollment and since we are not using a webinar format this year, our execs want the ability for a user to click a help icon and have that icon open an email to our benefits supervisor and have the slide title or attach an image of the slide to the email so our supervisor can reference it. I am trying to understand the variables, but I am just a bit lost on where I need to either create a variable or where to find them to set up the trigger. 

Any help would be greatly appreciated!

5 Replies
Ned Whiteley

Hi Michael,

The built-in variable that holds the value of the current slide title is Project.SlideTitle.

With regards to adding variable data to emails, this post from Matthew Bibby, although 3 years old, may well be of some assistance:

https://community.articulate.com/discussions/building-better-courses/tutorial-populating-an-email-with-content-from-storyline

 

Phil Mayor

I have not tested this and I am writing it off the top of my head, but it should work may need to tweaking.

I would have these variables in storyline

email (email to send to)

slideNumber (set this from the slide number in Storyline) I dont think you will be able to send out the system varaible. Hope it works

var player = GetPlayer();
var email = player.GetVar('email');
var slideNumber = player.GetVar('slideNumber');
var subject = 'Help me!';
var emailBody = 'The slide number I have a problem with is:' + slideNumber;
var mailto_link = 'mailto:' + email + '?subject=' + subject + '&body=' + encodeURIComponent(emailBody);
win = window.open(mailto_link, 'emailWin');

This discussion is closed. You can start a new discussion or contact Articulate Support.