Viewing scheduled report set results

When a scheduling task is finished, you can view the results of the scheduled report set as required. To view the results, first of all you need to know the corresponding results' location. To get the location information:

  1. On the JReport Console page, click My Tasks on the system toolbar, then click the Completed tab, where all the successfully scheduled tasks are recorded.
  2. Locate the task in the tab and click the name of the task in the Schedule Name column.
  3. In the Result Details table, the location information of the scheduled results are available in the Details column.

Viewing results scheduled to version

To view report set results that are scheduled to version, you can choose whether to view via the JReport Console page or via URL.

Viewing via the JReport Console page

One way to view results that are scheduled to version on the JReport Console page is via the scheduled task records. To do this:

  1. Click My Tasks on the system toolbar, then click the Completed tab.
  2. In the tab, locate the right task and click the name of the task in the Schedule Name column.
  3. In the Result Details table, the links to different result formats are available for viewing in the To Version row.

And another way to achieve the same purpose is via the server resource tree which to some extent varies with the archive location type specified in the Publish > To Version tab:

Viewing via URL

For the report set results that are scheduled to version, you can also view them via URL. One important thing in the URL method is that you need to know the file name of the result that you want to view. To get this information, you can take the steps explained at the beginning of the document.

Using command jrs.view_ver_rst

See the example:

http://localhost:8888/jrserver/SampleReports/SampleReports.cat/EmployeeInformation.cls?jrs.cmd=jrs.view_ver_rst&
jrs.hist_file=1%5cJReport_System_User327406359%5cEmployeeInformation.rst&jrs.result_type=1.

See details about the usage of the command jrs.view_ver_rst.

Using viewVersion.jsp

For example:

http://localhost:8888/jinfonet/viewVersion.jsp?jrs.cmd=jrs.view_ver_def&jrs.rst_version=2&jrs.ver_suff=.html&
jrs.report=%2fSampleReports%2fEmployeeInformation.cls&type=rstfile&jrs.path=%2fSampleReports%2fEmployeeInformation.cls

Note: When viewing a scheduled DHTML report result with page-level security via URL, you should add jrs.is_pls_result=true in the URL, for example: http://localhost:8888/dhtmljsp/dhtml.jsp?jrs.rst_version=1&jrs.is_pls_result=true&jrs.report=/SampleReports/PLS.cls&type=drstfile&jrs.path=/SampleReports/PLS.cls

Viewing results scheduled to disk

When scheduling a report set to disk,

Viewing results scheduled to e-mail/printer/fax/FTP

When a report set is scheduled to e-mail, printer, fax, or FTP, you can view the scheduled results if the specified addresses or locations are available to you.