Storyline to export PDF

Feb 21, 2020

Hi all,

I've been using a couple of tutorials that show how to generate a PDF (with variables) from Storyline using javascript and PDFmake. Unfortunately, despite my efforts, I haven't been able to get them to work. I've created a very simple story file with all of the components required. Would anyone be able to assist with troubleshooting?

These are the tutorials that I've been trying to channel: 

https://community.articulate.com/discussions/articulate-storyline/storyline-2-example-generating-a-pdf-certificate-for-users-who-successfully-complete-a-quiz-html5

https://www.rabbitoreg.com/2018/08/16/articulate-storyline-to-create-a-customized-pdf-on-the-fly/

https://tracycarroll.net/free-print-certificate-template/ - This one works, but the PDF prints with all of the browser details.

 

Many thanks!

2 Replies
Joseph Francis

Stephanie Harnett had posted User Notes That They Can Print and Email a while back to eLearning Heroes. She followed up a few years later with New Template! 4 Variations of Course Notes in Storyline and Rise, which, among other things, leverages the JavaScript library PDFMake to generate a PDF document that students can download and print.

You can still see it in action and download the complete source from her site.