Question: Using Adobe Acrobat - Is it possible to execute JavaScript to report to LMS to track pdf was viewed?
What I would like to do is to create a pdf with an Acknowledgement button that when click will report (via JavaScript) to the LMS (Learning Management System) that the end user viewed/acknowledged the pdf.
yeah, I already posted to their forum. Just wish they would respond as quick as eLearning Heroes does. :) I don't think it is possible to do. I believe the PDF javascript is limited to just what it can do with the PDF within the PDF itself.
I hope someone in the community can weigh in here - I'm not well versed in Javascript or the capabilities of Adobe Reader to weigh in one way or another! :-)
That should be possible if you're running the PDF within a browser window and you package with SCORM client side API javascript files and imsmanifest. You'd need to hand-build the package that will include a slew of JS files, and an HTML file to contain the PDF. Here's a good resource for that.
If the PDF runs within Acrobat, there isn't any way to make it work in a SCORM package. You *might* be able to make that work using xAPI but I suspect it might not be worth it.
I see you embedded the PDF within Storyline last year with an acknowledgement. Is this no longer a workable solution?
yes, my solution in past works great! I actually perfected it a bit since then. I was just thinking and hoping this would be a alternative. Though, it was my hope to be able to just add js to the pdf and be done. Doesn't seem to be the case. Thanks for the link, still interesting information.
5 Replies
Hi Timothy,
If you haven't done so already, you may want to reach out to Adobe for assistance in regards to how to set up Javascript within a PDF.
Best of luck with your project!
yeah, I already posted to their forum. Just wish they would respond as quick as eLearning Heroes does. :) I don't think it is possible to do. I believe the PDF javascript is limited to just what it can do with the PDF within the PDF itself.
Hi Timothy,
I hope someone in the community can weigh in here - I'm not well versed in Javascript or the capabilities of Adobe Reader to weigh in one way or another! :-)
Hi Timothy -
That should be possible if you're running the PDF within a browser window and you package with SCORM client side API javascript files and imsmanifest. You'd need to hand-build the package that will include a slew of JS files, and an HTML file to contain the PDF. Here's a good resource for that.
If the PDF runs within Acrobat, there isn't any way to make it work in a SCORM package. You *might* be able to make that work using xAPI but I suspect it might not be worth it.
I see you embedded the PDF within Storyline last year with an acknowledgement. Is this no longer a workable solution?
yes, my solution in past works great! I actually perfected it a bit since then. I was just thinking and hoping this would be a alternative. Though, it was my hope to be able to just add js to the pdf and be done. Doesn't seem to be the case. Thanks for the link, still interesting information.
This discussion is closed. You can start a new discussion or contact Articulate Support.