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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

15.4.2 mail Examples<br />

Distribution XML File Examples<br />

<br />

<br />

<br />

<br />

<br />

15.4.1.4 Separate File for Each Section<br />

In this example, a separate file is generated for each group instance. Groups repeat on<br />

department_id. Each file is named with <strong>the</strong> relevant department ID.<br />

<br />

<br />

<br />

<br />

<br />

Assuming that <strong>the</strong>re are four departments, 10 through 40, this example will result in<br />

<strong>the</strong> creation of four files, named in turn department_10.pdf, department_20.pdf, and<br />

so on.<br />

The format attribute is not included in <strong>the</strong> file element because it is not required<br />

when <strong>the</strong> srcType is file or text. It is required when <strong>the</strong> srcType is report.<br />

Note: If you do not specify unique filenames through <strong>the</strong> use of<br />

variable values (see Section 15.2.2), in this example, each<br />

successively created file will overwrite <strong>the</strong> previously created file.<br />

That is, <strong>the</strong> department.pdf file for department 20 will overwrite<br />

<strong>the</strong> department.pdf file for department 10, and so on, until <strong>the</strong>re is<br />

only one file left, department.pdf, with information from <strong>the</strong> last<br />

department report created (e.g., department 40).<br />

15.4.1.5 Separate Print Run for Each Report<br />

The way you specify a printer name differs between Windows and UNIX. The first<br />

example is for Windows. The second is for UNIX.<br />

15.4.1.5.1 Windows In this example, assuming that <strong>the</strong> report is grouped on<br />

department_id, a report will be printed for each department.<br />

<br />

<br />

<br />

<br />

<br />

15.4.1.5.2 UNIX In this example, assuming that <strong>the</strong> report is grouped on department_<br />

id, a report will be printed for each department.<br />

<br />

<br />

<br />

<br />

<br />

The examples in this section include:<br />

Creating Advanced Distributions 15-19

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

Saved successfully!

Ooh no, something went wrong!