Print out the certificate without buttons on the screen

Dec 14, 2021

There are many ways to create a certification after a final quiz in Storyline. Matthew Bibby shared Six Ways to Generate a Certificate of Completion. But if you are like me preferring editing and viewing certification layout directly in SL and do not like adding extra files into storyline output file  after each time publishing. This is the article for you. 

Of course you can add a certification slide in SL. Other than the score, you will also need showing user name and date on the certification. 

You may already know that we can add a print button and have users print a slide with a simple JS code below:

window.print();

 

But you will encounter the print icon also shown on the image. And that's definitely shouldn't be existed on a certification.

So here is how I get rid of  those buttons.

  1. Put buttons on another layer.
  2. Add a hide layer trigger before the print trigger.  

That's it.

Demo

8 Replies
Hillary Townsend

Hey Joanne, 

It's been a little while so I'm not sure if you'll pop back here, but I am having trouble getting your print code to work as it does in your published sample. When I use the three lines of code, my published sample shows the player menu. I see on your sample it does not. 

I would appreciate any advice you may have. Thank you! 

- HT

Hillary Townsend

Phil - Thank you for your reply. Unfortunately, I am required to use the classic player for the project I am working on. I believe the print trigger is reserved for the modern player only. So I think I’m stuck trying to rig together a solution as the course won’t be housed in an LMS. 

Edit: I figured out a solution using javascript. Thanks all!