Forum Discussion
Certificates in Rise
Eliliano's investigative work is spot on. The storyline file is embedded in Rise using the Storyline block, you must publish to review first
Hey Phil, this all looks great and your example of the SL block collecting the username and saving to a PDF is what I need, however I think I am missing something, looking for some pointers here please.
I have tried all of the suggestions here in this forum and tried each suggestion here but can't get the PDF to download. If I can get it to work, I will assist by posting updated steps here for others.
Here are the latest steps of what I have tried:
- Took SL file (that Eliliano/Kyle posted with your JS in it) that on click of button executes and published to Review.
- Added that SL Review piece to a block in Rise.
- Published Rise to SCORM package.
- Opened the html file for the SL block added, and put in the two lines in the head for and put in the script for links to cloudflare as suggested.
- Repackaged the zip and posted in SCORMCloud.
- Tested however PDF not working.
Any pointers from my steps that I may be getting wrong? I see others have used a webobject, and I tried that as well. I am unclear if using that is part of the solution instead?
Thanks much for any help, I have tried all of the suggestions, just must be missing something.
Jeff
- PhilMayor5 years agoSuper Hero
Hi Jeff
The web object needs to be in there as this holds the files needed to generate the Certificate.
I would look at Emeliano’s tutorial that is comprehensive and works.
Look at the javascript console for errors it is typically a misspelled or missing variable.
- JeffForrer5 years agoCommunity Member
Thanks Phil. I reached out to him yesterday and he responded today which I am appreciative of.
His solution was a little different, it does not use the webobject.
He found the issue with his solution and it was with the JS, it was calling window.parent.GetPlayer(), but that wasn't working anymore, so he changed it to window.GetPlayer(), and now that solution works, which is awesome and this will work for what I need.
However, I am still curious on getting your webobject solution working as well. I see Norman used a certificate.html and webobject solution, I had tried that but no luck. I will update on my findings if I can get that solution to work.
Once I get the non-web object solution completed, I will update instructions here for others. Thanks.
- JoshuaCooperDar5 years agoCommunity Member
Hi Phil, your certificate looks great! It looks like you might be using a multiple fonts on your certificate design. I'm trying to do something similar by using custom fonts for branding. But unfortunately, I hit a wall when I try to apply the font to a block of text. Did you run into any conflicts or bumps when using multiple fonts? Do you have any advice on how you resolved the problem? Are you able to provide a working example snippet? Maybe there is some subtle formatting gotcha Im missing.