Forum Discussion
Example files: Generating a certificate from Storyline
This example demonstrates how you can take user input and generate a certificate for printing. Any Storyline variable or score can be used to generate the output. The file and file add-ins are both simple and straight forward. This will only work in the Flash based output. This will not work in the iOS output or HTML5.
To replicate this on your end:
1) Modify the story file to your liking.
2) Extract the add-in zip file above (certificate.html and certificateBG.gif)
3) Copy these two files into your published output directory. You'll need to do this each time you publish.
This is a really basic example. You really can do quite a bit with this including adding a print button, extra fields, collecting values from the LMS like the user's first and last name.
** I noticed a bug when playing with this file setup. I initially thought I would be able to include the certificate files as resources to avoid copy / paste surgery after publish. Unfortunately, Storyline mangled the HTML file on publish. Will be submitting this as a bug.
- FreddieBatistaCommunity Member
How do i add this to my Storyline project? I am new to storyline is this in teh book? if so I am buying it lol
Hi Freddie! I have not seen the book, so I cannot answer that question and I assume that you are directing that question to Steve.
I just wanted to welcome you to E-Learning Heroes
- SteveFlowersCommunity Member
Hi Freddie,
This particular one isn't in the book. I'm not sure about Stephanie's book. She has some project-based things in her new one.
Thanks Steve!
- ErikaPCommunity Member
Cheryl Daubney said:
This all looks waaaayy too complicated for me!! Is there not a way to include an informal certificate of completion where the user can input their name at the beginning of the course, then this would be picked up by the certificate as well as the test score, date and name of the course??? Is there a simple way to do this?? And could this be added to Storyline as a standard feature?!
No LMS for me either - but would like to reference a text entry in an earlier slide to the last slide (certificate).Is this possible at all in Storyline?
- ErikaPCommunity Member
Ah, never mind.
Please excuse the newbie question.
No problem Erika! Did you find the answer that you were looking for?
- ErikaPCommunity Member
Yup, with the help of these links...
Great! Thanks for sharing Erika
- LisaKarpukCommunity Member
I seem to be having major issues when trying to pull any other variables from the Storyline file into the certificate.html. I have no problems when I am just using the learner variable but when I try to get the certificate to show the final mark (or anything else) from Storyline it just stops working.
I have limited knowledge of JavaScript right now, but it my head what I am doing makes sense - but it's just not working no matter what I try, and I haven't yet seen an answer on here that specfically addresses how to do this.
I attached an example. I used the storyline and certificate files provided by Steve. I added a variable that simply generates the number 85 and tried to add that to the certificate.
Any help would be appreciated!