Forum Discussion
Storyline 2 Example - Generating a PDF Certificate for users who successfully complete a quiz
Hi Lisa,
I've been using Ryans excellent code myself and there is no way around base64 data uri's for your images. A different approach (without knowing your project) could be to have a variable in the course that - depending on user choice - would ask the certificate to display a given base64 uri. That way you wouldn't need multiple certificates.
Just my 2 cents ;-)
- LisaSpirko-39767 years agoCommunity Member
Thank you, Michael. This variable would actually have to come from the LMS, and I have no idea how to retrieve that. We can't have the learner select for which course to display the certificate (unless you mean something else).
A bit of background: These are certificates for third-party CEU courses supplied by that third party. Unfortunately, our LMS displays the certificate button in the course catalog (not as an object that displays only after the course has been taken); a learner can display and print the certificate with the third-party's course index number, and then claim credit for it without even enrolling for the course. We've argued with our LMS vendor about this, but they refuse to back down on making certificates available this way, saying that in most implementations of their LMS, the customer wants the certificate button to display in the catalog. (This stuns me--I ask, then, what's the point of course certificates?) So, this is our workaround: to create our own versions of the certificates, launched from a course-like shell that can be added to the training program and available only in sequence after the course is completed.
Unfortunately, I have no idea how to retrieve course information from the LMS (learner name would be great, too), but I'll research it and see if there's a way.
Thanks so much!
Lisa
- TeresaVanderpos7 years agoCommunity Member
Hi Lisa,
Is it just so you can print it?
I may thinking way too simple, but I have to have students print a certificate and send via email to someone for credit as they are not in our LMS….
Could you do the following (which is what I do, and I understand this may be way to basic for what you need).· On the slide where they begin the quiz, indicated for them to use the Print Page menu option to print their certificate via PDF when completed.
· Then on your Player go and add a menu option called Print Certificate (or Print Page), the trigger wizard that pops up you will execute javascript and type window.print()
· Technically they can print any page.. so you may want to say certificate.
· Then make your “Success Layer” look like the certificate you need, then they just Print certificate button on that page, and the browsers print function appears and they have an option to save as PDF.
My apologies if this is way below what you need, but I thought it didn’t hurt to suggest it…
Cheers
TeresaCONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
AVIS DE CONFIDENTIALITÉ : Ce message électronique, ainsi que tout fichier qui y est joint, est reserve à l'usage exclusif du destinataire visé et peut contenir des renseignements confidentiels et privilégiés. Toute lecture, utilisation, divulgation ou distribution non autorisée est interdite. Si vous n'êtes pas le destinataire visé, veuillez en aviser l'expéditeur par retour de courriel et détruire toutes les copies du message original.
- LisaSpirko-39767 years agoCommunity Member
Hi Teresa. Thank you for the suggestion. When I first noodled on this project, I actually considered something along those lines: Putting the certificate image on a page with the captured learner name and system date on top. The problem is, we can't rely on print-to-PDF. Our learners tend to be non-technical, even computer-phobic folks, working in environments where their computers may be out-dated and don't have print-to-PDF capability. Even if they do have print-to-PDF capability, they may not know this or feel comfortable using it. This wouldn't be a big deal if they could get by with just printing the certificate on paper, or if these were free, non-CEU courses, but a saved PDF file is what they need; they have to email it to the third-party org that manages CEU credits for the learners' line of work. This needs to be fool-proof, and really the only way we can do that is to present the certificate to them already in PDF format, so all they have to do is save the file.
Thanks,
Lisa