Forum Discussion
Printing and Emailing a Course Completion Certificate in Storyline 360
So, the easiest method for doing this is actually built into storyline now. They way I've done it in the past, I have the variables pass along the information to populate the certificate at the end and I have a big print button on the certificate slide with triggers to hide the button, print, and then show the button again so the users aren't printing the button along with their certificate. And I just use the Print Slide trigger.
Then either as a second button on the certificate, or on the next page, I have an email your certificate button. There is an email to trigger that has you input the desired email address you want your user to send the email to. I fill that in with the instructor's email and provide instructions for the student to attach their recently printed pdf file. The email to trigger opens the users default email program and prepopulates the email with your specified email address.
If you needed a variable email, say you tell your user to email their certificate to their instructor/trainer/course instructor etc. and the email needs to change. You could do it with javascript instead.
var player = GetPlayer();
var recipient = player.GetVar("recipientemail");
var subject = "Storyline Course Completion";
var mailto_link = 'mailto:' + recipient + '?subject=' +encodeURIComponent(subject);
window.open(mailto_link, 'emailWindow');
That's basic to open the email and let them attach the certificate. If you didn't need the certificate and just wanted to send a completion email, or wanted to attach more information, you could add a body to the mailto_link line and give them a pre-drafted email. But the easiest way is to just have them send the downloaded pdf.
Related Content
- 10 months ago
- 8 months ago
- 9 months ago