You can schedule a report with cached report bursting as a normal report. However, there are some differences between the formats in which the report is to be published.
When you schedule a task to publish a report with cached report bursting to the HTML and/or DHTML formats to the versioning system, the scheduled result depends on the mode which is controlled by the property server.enable.cachedreportbursting in server.properties in <install_root>\bin
:
server.enable.cachedreportbursting=true
which is the default, the scheduled result includes full data. Then when end users view the result, they will see only the data they are privileged to see according to the cached report bursting setting in the report. They can perform interactive actions on the scheduled DHTML result as on other DHTML results, and the formulas, summaries and other similar data will be recalculated based on the privileged data.
Note: If the report is cached report bursting and RLS/CLS mixed, then when other users other than the user who did the scheduling view the scheduled HTML result, a blank page is displayed.
server.enable.cachedreportbursting=false
, the scheduled result only contains the data that the user who did the scheduling is allowed to see. This is primarily for compatibility with pre-8.2 versions of JReport. In this case, to DHTML is not supported.When you schedule a report with cached report bursting to publish it to e-mail, there is a slight difference. JReport Server supports a multiple mail feature which enables sending the data results directly to each user who is authorized to view the report.
Assuming that the catalog and the report have been published to JReport Server, and two users admin and jennifer both have the permission to view the report. The following procedure shows how to schedule a task on a report with cached report bursting to be published to e-mail.
JReport Server will get the e-mail addresses from the user accounts, and then send the report result to admin and jennifer, with the contents in accord with their access right to the report.
Note: Before publishing to e-mail, make sure you have input the e-mail addresses of the users when configuring JReport Server. To do this:
When scheduling a report with cached report bursting to other formats, the scheduled result only contains the report data that the user who does the schedule is allowed to see. All users will see the same data as the scheduling person.