ADS, IIS and presenter
Sep 15, 2011
By
Bipin Gaur
I am in a major pickle. The clients wants me to print a custom certificate at the end of the module, the certificate will have an image as background (I believe this can be handled by editing report.html)
The main problem are below.
1. The login is not a part of our module - so i need to fetch that data from session on IIS
2. He wants me to give him both print and save options for the final certificate.
All the final fields that I need to populate the certificate with are
1. Name 2. Department 3. Employee Code 4. Date of test 5. Marks obtained.
So essentailly I need to fetch data from either a DB or sessions and populate the custom certificate, then give options to print and save in the final certificate itself.
I hope I am clear.
6 Replies
Hi Bipin & welcome to Heroes,
The screencast in the link below should get you pointed in the right direction:
https://player.vimeo.com/video/145576211
The screencast doesn't cover all of the items, but it should help.
Thank you Brian for your reply,
I have individually gone through both the screencast and php example and made them work. http://www.articulate.com/blog/web-object-php-to-generate-a-custom-certificate-of-completion/ example is more of what I want to achieve, what I could not figure out was how to send the score data (the data generated in articulate presenter ) to the php file.
I am struggling to make it clear to you, but essentially what I want is a custom certificate with someo f the data being passed on by quiz and some from server.
Hi Bipin,
Both of those examples could be combined to create the custom certificate that you need. In the blog example, they're using a separate PHP form that asks for data that populates the certificate. In my example, I'm just modifying the report.html file to make it look like a custom certificate. I would recommend using the report.html workaround and then use a query to bring in other data from your server.
Hello Brian,
You have written " I would recommend using the report.html workaround and then use a query to bring in other data from your server"
is that possible?? how will I fetch data while in an html file? dont you need a server side language to fetch server data?
Please guide me to it.
Hi Bipin,
Yes, you will need to create a report.php file (or whatever language you choose to use) and update the flashcommand.js or player.js file to open the report.php instead of the report.html file.
Thank you,
I will try the method you have mentioned ' flashcommand.js or player.js' I believe this should do the trick, if this does then I owe you a beer
Regards
This discussion is closed. You can start a new discussion or contact Articulate Support.