Hello I'm currently using Articulate Presenter 09 for a project, and I would like to trigger javascript to have a certificate printed? Is there a way to do this?
I already have the javascript that I know works (I have used it in Storyline), but would like to know if there is a way to get this same javascript to work in a Presenter project.
What if you created a separate HTML web page with your certificate image and text and then put the javascript on that page? Then insert the web page as a web object. You could have it open in a new window so the document.print() method would print just the certificate page, and not the whole articulate window.
As I recall, to insert a local web object, you have to put all the files and assets in a folder and call your HTML page, index.html (or index.htm) because Presenter wants to copy the whole folder and looks to launch the index.html page by default.
Thanks for your help folks! The one thing I need from the javascript is for it to pull the student name from our LMS. I'm not sure either of the solutions will help this, am I correct?
For legality issues, we can't have the learners input their own name for the certificate.
I've built a Flash certificate for Presenter that pulls in the username from the LMS in the past. It's been awhile but it's definitely possible. Look at the LMSAPI calls. The same calls Presenter makes can be invoked from a getURL action from Flash.
I've built a Flash certificate for Presenter that pulls in the username from the LMS in the past. It's been awhile but it's definitely possible. Look at the LMSAPI calls. The same calls Presenter makes can be invoked from a getURL action from Flash.
Yes i had one, I have lost it though, wasnt difficult and got the flash code from James Kingsleys site
I built a little flash movie that pulled in some LMS data for Presenter a while back too. Attached the FLA file. It's for SCORM 1.2 but if you need 2004 functions, it would be a small matter of switching them out.
I think this is what I'm looking for. However, I have no flash know-how or experience. Minh-Triet, I'll take a look at what you've attached and see if I may be able to re-purpose it.
8 Replies
What if you created a separate HTML web page with your certificate image and text and then put the javascript on that page? Then insert the web page as a web object. You could have it open in a new window so the document.print() method would print just the certificate page, and not the whole articulate window.
As I recall, to insert a local web object, you have to put all the files and assets in a folder and call your HTML page, index.html (or index.htm) because Presenter wants to copy the whole folder and looks to launch the index.html page by default.
Check this thread to see if this is something you can use for your certificate:
http://community.articulate.com/forums/p/12471/74626.aspx#74626
Thanks for your help folks! The one thing I need from the javascript is for it to pull the student name from our LMS. I'm not sure either of the solutions will help this, am I correct?
For legality issues, we can't have the learners input their own name for the certificate.
Then build a flash certificate that pulls in the name
I've built a Flash certificate for Presenter that pulls in the username from the LMS in the past. It's been awhile but it's definitely possible. Look at the LMSAPI calls. The same calls Presenter makes can be invoked from a getURL action from Flash.
Yes i had one, I have lost it though, wasnt difficult and got the flash code from James Kingsleys site
I built a little flash movie that pulled in some LMS data for Presenter a while back too. Attached the FLA file. It's for SCORM 1.2 but if you need 2004 functions, it would be a small matter of switching them out.
I think this is what I'm looking for. However, I have no flash know-how or experience. Minh-Triet, I'll take a look at what you've attached and see if I may be able to re-purpose it.
Thanks folks!
This discussion is closed. You can start a new discussion or contact Articulate Support.