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.

Distribution XML File Examples<br />

15.4.1 foreach Examples<br />

The examples in this section include:<br />

■ Single E-Mail with Report Groups as Separate Attachments<br />

■ Separate E-Mail for Each Group Instance<br />

■ Separate E-Mails with Separate Sections as Attachments<br />

■ Separate File for Each Section<br />

■ Separate Print Run for Each Report<br />

15.4.1.1 Single E-Mail with Report Groups as Separate Attachments<br />

In this example, each attachment contains <strong>the</strong> corresponding instance from <strong>the</strong> header,<br />

main, and trailer sections. That is, if <strong>the</strong> report is grouped on department_id, and <strong>the</strong><br />

first department is department 10, <strong>the</strong> first attachment will be a report with header,<br />

main, and trailer sections all containing department 10 information. This example is<br />

valid only if <strong>the</strong> header, main, and trailer sections repeat on <strong>the</strong> same group instance,<br />

in this case department_id.<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

First of all, assume in this example that "managers@mycompany.com" goes <strong>to</strong> a<br />

mailing list that distributes <strong>to</strong> each department manager. If <strong>the</strong>re are four departments:<br />

10, 20, 30, and 40, <strong>the</strong> first attachment will contain header, main, and trailer sections<br />

corresponding <strong>to</strong> department 10; <strong>the</strong> second <strong>to</strong> 20; and so on. This example will yield<br />

one e-mail per recipient, each with four attachments.<br />

15.4.1.2 Separate E-Mail for Each Group Instance<br />

In this example, each recipient will receive a separate e-mail for each grouped report.<br />

For example, if <strong>the</strong> report is grouped on department_id, and <strong>the</strong>re are four<br />

departments, one recipient will receive four e-mails, each with a separate department's<br />

report attached.<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

15.4.1.3 Separate E-Mails with Separate Sections as Attachments<br />

In this example, different sections repeat on different groups. The distribution is set up<br />

so that each recipient will receive a separate e-mail with attachment for each grouped<br />

main section and for each grouped trailer section.<br />

<br />

<br />

<br />

<br />

<br />

15-18 <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!