01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Distribution XML File Examples<br />

overwrite <strong>the</strong> previously created file. For example, if you specify an output filename of<br />

department.pdf, and you output separate instances of each department's report, <strong>the</strong><br />

second department.pdf file will overwrite <strong>the</strong> first department.pdf file; <strong>the</strong> third<br />

will overwrite <strong>the</strong> second; an so on. You will end up with only one report, that of <strong>the</strong><br />

final department <strong>to</strong> be output. Instead, with grouped reports that you want <strong>to</strong> output<br />

separately according <strong>to</strong> each group instance, use variable values <strong>to</strong> specify filenames,<br />

for example: name="department_&amp;&lt;department_id&gt;.pdf".<br />

The examples in this section include:<br />

■ File for Whole Report<br />

■ File for Combined Report Sections<br />

■ File for Each Group of Combined Sections<br />

■ File for Each Report Group Instance<br />

15.4.3.1 File for Whole Report<br />

This example will yield one file named report.pdf that contains <strong>the</strong> entire report.<br />

15.4.3.1.1 Windows<br />

<br />

<br />

<br />

15.4.3.1.2 UNIX<br />

<br />

<br />

<br />

15.4.3.2 File for Combined Report Sections<br />

This example will yield one file named sections.pdf that contains a report consisting of<br />

<strong>the</strong> header section and <strong>the</strong> main section of <strong>the</strong> report.<br />

<br />

<br />

<br />

<br />

15.4.3.3 File for Each Group of Combined Sections<br />

In this example, a separate file will be created for each repeating group. Each file will<br />

contain a report that combines <strong>the</strong> relevant group main and trailer sections. The main<br />

and trailer sections must repeat on <strong>the</strong> same group, and <strong>the</strong> variable file name must<br />

refer <strong>to</strong> a column contained within <strong>the</strong> "repeat on" group. That is, if <strong>the</strong> report repeats<br />

on department_id, and you have four departments, 10 through 40, <strong>the</strong>n one file will<br />

contain <strong>the</strong> main and trailer sections of department 10; <strong>the</strong> next will contain <strong>the</strong> main<br />

and trailer sections of department 20; and so on. The variable value under name must<br />

refer <strong>to</strong> a column that is within <strong>the</strong> G_department_id group.<br />

<br />

<br />

<br />

<br />

<br />

<br />

15-22 <strong>Oracle</strong> Application Server <strong>Reports</strong> Services <strong>Publishing</strong> <strong>Reports</strong> <strong>to</strong> <strong>the</strong> <strong>Web</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!