Scheduling a report with page-level security

You can schedule a page-level security report as a normal report. However, there are some differences between the formats in which the report is to be published.

Scheduling to HTML/DHTML to version

When you schedule a task to publish a report with PLS 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.pagelevelsecurity in server.properties in <install_root>\bin:

Scheduling to e-mail

When you schedule a report with PLS to publish it to e-mail, there is a slight difference. JReport Enterprise Server supports a multiple mail feature which enables sending the results of page-level security reports directly to each user who is authorized to view the report.

Assuming that the catalog and report set containing the report have been published to JReport Enterprise 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 page-level security report to be published to e-mail.

  1. Access the JReport Console page with user ID admin or jennifer.
  2. Select the row that the report set is in, then right-click in the row and select Schedule from the shortcut menu to set up the schedule.
  3. In the General tab, select the page-level security report.
  4. In the Publish tab, switch to the To E-mail sub tab and then check This report has page-level security, send an E-mail to each user who views it.
  5. Type the subject and select the result format, then click Finish.

JReport Enterprise 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 Enterprise Server. To do this:

  1. Access the JReport Administration page, then click Security on the system toolbar.
  2. Select the User tab, choose the user name that you want to edit in the User ID column, and then click it. You can then type in the e-mail address of the user.
Scheduling to other formats

When scheduling a report with PLS to other formats, the scheduled result only contains the pages that the user who does the schedule is allowed to see.