Print Log Report Button

About
During the Putting it All Together class at PSUG-NorthEast 2017 an idea was worked on to allow users to click a button next to the log entry they wanted to print a report for. As you may know the log reports search page does not include a way to search for a specific log entry by student or log id. The resulting page fragment is generic enough to work for other types of records as well but the plugin includes an updated log list page with a button that will trigger the process. The idea and some of the code came from Monett R-1

What's New

  1. Everything, its a new plugin.

Directions

  1. Go to a student record
  2. Click on the Log Entries link in the Administration section
  3. There is now a Print button next to each log entry. Click the one next to the log entry you wish to run a report for
  4. A new tab will open that will first search through DDE to make the record the current selection then redirect you to the print log reports page so that you can choose which log report to run.

Using for other purposes
You may use the same script to make any other record the current selection. The pieces of the url are:

  • /admin/tech/dde/home.html? -> Basic link to the DDE home page
  • ?frn=~(frn) -> the frn for the record
  • &id=~(id) -> the frn should produce the ID but dde will not resolve it so pass it in the url
  • &isDone=0 -> this is to let the process know if it's done. Several loops may be necessary so it needs to know if its complete before finally redirecting
  • &loc=/admin/logentries/printlogentries.html -> this is the path to the place you want the user to go after the record is made the current selection. Change this location to something that is appropriate for your use.
  • Ex: /admin/tech/dde/home.html?frn=~(frn)&id=~(id)&isDone=0&loc=/admin/logentries/printlogentries.html

Change History
V 2017.11.08 - Released 2017-11-09

  • Initial Release

Customization:

Contributor: 
Jason Treadwell
Steve McMillin

PS Verions

7.x: 
Y
8.x: 
Y
9.x: 
Y
10.x: 
Y
Plugin: 
Y
CPM Import Friendly: 
Y

Comments

It won't let me install--Plugin file contains a file that already exists: web_root/admin/students/log.html

What am I doing wrong?

Same error here

same error...

Same error for me too.

Hello,

It let me install the Plug-In, however, I don't see the button. We did have the "Log entry management" Plug-In installed as well, but I disabled that one and I still don't see the Print button.

Thanks for your help.

EDIT: I'm now getting the same error as the others. I'm guessing it has to do with the "Log Entry Management" Plug-In. Any way to get them both to work simultaneously?

I installed the plugin but do not have any print buttons showing

I have a nurse trying to print and she's getting insufficient access on this . Others are able to print just fine. Do you have any idea why she can't or where I can begin to troubleshoot this for her? Thank you!

Subscribe to Comments for "Print Log Report Button"