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.

Elements of a Distribution XML File<br />

15.3.6 include<br />

Table 15–3 (Cont.) Attributes of <strong>the</strong> attach sub-element of mail<br />

Attribute Valid values Description<br />

name string Optional. Variable values allowed. The filename of<br />

<strong>the</strong> attached material. Can also contain variable<br />

values that reference columns used in <strong>the</strong><br />

associated report. See Section 15.2.2 for more<br />

information.<br />

srcType file|report|text Default: report<br />

The source of <strong>the</strong> attachment, ei<strong>the</strong>r a file, a report,<br />

or text.<br />

instance this|all Default: all<br />

Used when <strong>the</strong> foreach element is also present.<br />

With a grouped report that is burst in<strong>to</strong> separate<br />

reports, instance specifies whe<strong>the</strong>r <strong>the</strong> groups<br />

will be broken in<strong>to</strong> separate content according <strong>to</strong><br />

each group instance (this) or all contained within<br />

<strong>the</strong> same content (all).<br />

Using <strong>the</strong>se attributes in conjunction with <strong>the</strong> foreach element, you can design a<br />

destination that will repeat on a group instance and generate an e-mail for each group<br />

attachment. For example:<br />

<br />

<br />

<br />

Attached is <strong>the</strong> breakdown of department summaries for <strong>the</strong> last quarter.<br />

<br />

<br />

<br />

<br />

<br />

<br />

By moving <strong>the</strong> location of <strong>the</strong> foreach element, you can generate one e-mail with<br />

multiple attachments: a separate one for each group instance.<br />

<br />

<br />

Attached is <strong>the</strong> breakdown of department summaries for <strong>the</strong> last quarter.<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Example<br />

<br />

<br />

Attached are quarterly results.<br />

<br />

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