8bdce9c2544e496ce825c7035499979347e747ba
FAQ/Questions/How-do-I-use-the-Izenda-Reports-report-email-scheduler.md
| ... | ... | @@ -119,6 +119,39 @@ To test this, go back to a report you wish to schedule and click on it. Click th |
| 119 | 119 | |
| 120 | 120 | Scheduled reports only supports per-user security using the Link format. Scheduled attachments will not apply hidden filters normally, but you can apply security through [[PreExecuteReportSet()|/FAQ/PreExecuteReportSet]] based on the security of the report owner. If per-user security is required, the Link format will require the user to login before seeing the report. |
| 121 | 121 | |
| 122 | +##Saving to Reports to Disk |
|
| 123 | + |
|
| 124 | +The Scheduler can be used to save reports to disk, if desired. |
|
| 125 | + |
|
| 126 | +Here are some basic instructions for setting up this functionality with the Scheduler. |
|
| 127 | + |
|
| 128 | +*Add your FileScheduler.cs -> \App_Code\ |
|
| 129 | +*SchedulerPage.aspx, SchedulerPage.aspx.cs -> \ |
|
| 130 | + |
|
| 131 | +From your root, create your SchedulerPage.aspx with code behind, as such: |
|
| 132 | + |
|
| 133 | +csharp''' |
|
| 134 | + |
|
| 135 | +using System; |
|
| 136 | +using System.Collections.Generic; |
|
| 137 | +using System.Web; |
|
| 138 | +using System.Web.UI; |
|
| 139 | +using System.Web.UI.WebControls; |
|
| 140 | + |
|
| 141 | +public partial class SchedulerPage : System.Web.UI.Page |
|
| 142 | +{ |
|
| 143 | + protected void Page_Load(object sender, EventArgs e) |
|
| 144 | + { |
|
| 145 | + FileScheduler.RunScheduledReports(Response.Output, DateTime.Now); |
|
| 146 | + } |
|
| 147 | +} |
|
| 148 | +''' |
|
| 149 | + |
|
| 150 | +How to use: |
|
| 151 | +* Create a report and schedule it. In this case we need to save to the folder -- so instead of emails specify folders in which to save your report. |
|
| 152 | +* Open the SchedulerPage.aspx page in the browser. |
|
| 153 | + |
|
| 154 | + |
|
| 122 | 155 | ##Overnight batch report processing |
| 123 | 156 | |
| 124 | 157 | One extremely useful function of scheduling reports is batch processing of reports during nighttime hours. Implementation of overnight processing is just a matter of setting which reports will run during office off-hours. |