Generate PDF

Mar 13, 2023

Hello!

I have a storyline activity in which the user is completing open questions in successive layers of a slide. At the end the answers are displayed and I would like to generate a pdf with the information from that screen. I use window.print() and print as pdf in Microsoft Edge but the pdf lets copy the information (I need to dump it into a Forms). Is there any Java Script command to automatically generate a pdf?

Thanks

 

1 Reply
Dave Ruckley

I've used the method outlined in this thread: https://community.articulate.com/discussions/articulate-storyline/creating-downloadable-pdf-files-in-storyline-an-update-on-earlier-methods to create a number of assessments that output the answers as PDFs. It's much easier to set up than previous methods and with a bit of reading in the pdf-lib JavaScript library you can tweak the output (for example, I made all the form fields in the PDF read only once they're populated).