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.
- OwenHoltSuper Hero
Totally missed this thread and went about this in a slightly different fashion. Instead of calling up an html page that runs the calls to storyline for the variables. I used java to create the html page from within storyline.
See my solution here: Link to ThreadI used a table in my example because the background image was not printing in I.E. but I might give it a go again using Steve's most excellent html.
- KumikoBormanCommunity Member
I don't know if this is even possible, but is there a way to email this certificate page to someone for record keeping beside attaching a screenshot onto an email generated by the html <mailto>?
- GrantMcCleanCommunity Member
Hi
After reading all of the thread to this, i still can't get a certificate to generate.
Does anyone have a bog standard certificate template that will remotely resemble a certificate that will just pull through the name and date.
Thanks
Grant
- BarryGalvinCommunity Member
Iron Man to the rescue!!
Thanks for this, Steve. Also, looking forward to reading the new Storyline book.
Take care,
Barry
- JimLeichliterCommunity Member
Wow! Brilliant! Really nice solution Steve!
- SteveFlowersCommunity Member
I used the pay version of the Vectorian Vector Pack to add decorative elements. It's handy for stuff like that and not too bad at $37 for the set. There's a free version with less stuff here.
- JimLeichliterCommunity Member
I highlighted this on http://storylinesolutions.com/ . Nice work!
- LeahHemeonCommunity Member
Thanks for sharing Steve. The vectors pack is really good. Just in time for a project I'm working on!
- ShyamSahaCommunity Member
Hi,
I have tried to replicate what Steve has done.
In my file I am not able to generate any information in the certificate.
I want to show the name and result in the certificate.
I am not able to figure out where I am going wrong. Could any one please help me to locate the issue ?
Thanks.
- ShyamSahaCommunity Member
Yep,
I have figured it out
It's working now.
But thanks to Steve for sharing such demo...