Summary:
How to use reportscheduler along with IReport to email reports?
Background:
If you want to use IReport to schedule reports and email, the instructions are given below.
Environment:
UIM/UMP/IReport
Instructions:
Setup Jasperserver to enable Email of Reports
1. Go to <Nimsoft Home Directory>\probes\service\wasp\webapps\jasperserver-pro\WEB-INF folder
2. Make a backup of js.quartz.properties file
3. Edit js.quartz.properties file as below, edit the bold values to match with your setup:
report.scheduler.web.deployment.uri=http://UMP/jasperserver-pro
report.scheduler.mail.sender.host=smtp.corp.com
report.scheduler.mail.sender.username=smtp_user_name_if_required
report.scheduler.mail.sender.password=smtp_password_if_required
[email protected]ny.com
report.scheduler.mail.sender.protocol=smtp
report.scheduler.mail.sender.port=25
4. Restart jasperserver-pro webapp
Schedule a Unified Report
1. Open Unified Report webapp in UMP and open any report
2. On the report page, on menu bar, click View->Repository
3. Select the report you want to schedule, right click and select Schedule...
4. Click Schedule Jobs and fill in the parameters as desired. Select the Recurrence option as desired.
5. Click Next and in Output Settings, select "Sequential File Names" and "Overwrite Files". Fill in Email Notification fields and "Attach Files" and choose output format(s).
6. Click Submit
Additional Information:
Now, the report should be submitted to scheduler for email delivery.
Check <Nimsoft Home directory>\probes\service\wasp\webapps\jasperserver-pro\WEB-INF\logs\jasperserver.log for errors