To distribute a report, you first define the distribution, then enable the distribution.
You can define the distribution for a report in any of the following ways:
Use XML, as described in the chapter "Creating Advanced Distributions"
in Oracle Application Server Reports Services Publishing Reports to the
Web, available on the Oracle
Technology Network Oracle Reports Documentation page (http://www.oracle.com/technology/documentation/reports.html
).
For an example of using section-level distribution, see the chapter "Bursting
and Distributing a Report" in the Oracle Reports Building Reports
manual, available on the Oracle Technology
Network Oracle Reports Documentation page (http://www.oracle.com/technology/documentation/reports.html
).
This chapter covers defining distribution of a single section to multiple
destinations, using the Repeat On property and distribution XML file.
Note: To display the Distribution dialog box: In the report or section Property Inspector, under the Report node, click the Distribution property value field.
On the command line, include the DESTINATION
keyword to specify a DST file
or XML file.
Note: The DST file method is supported for backward compatibility;
the preferred and recommended method of distributing reports is with XML
or the Distribution dialog box.
To enable the distribution of a report, you can do either of the following:
Choose FileDistribute
in Reports Builder.
DISTRIBUTE
=YES
on the command line.
You can also trace the report distribution to verify a successful distribution.
In some cases, Microsoft Internet Explorer ignores the mimetype of a URLs
return stream and instead sets the type by looking at the URL. This can be a
problem when you are defining the distribution for a report because your URL
might end with the DESTINATION
keyword. For
example:
...DISTRIBUTE=yes
DESTINATION
=c:\oracle/reports/distribution\mydist.xml
In this scenario, the URL ends with the extension xml
and Internet Explorer treats the return stream as XML, when in fact it is HTML.
As a result, you will receive a browser error. To work around this issue, you
should never use recognized file extensions at the end of a URL. In the example
above, you could switch the positions of the DISTRIBUTE
and DESTINATION
keywords in your URL.
About report sectioning and sections
"Bursting and Distributing a Report" in the Oracle Reports Building Reports manual
"Creating Advanced Distributions" in the Oracle Application Server Reports Services Publishing Reports to the Web manual
Running and dispatching a report from the user interface
Running a report from the command line
Running a report using a command file
Copyright © 1984, 2005, Oracle. All rights reserved.