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.3.5 attach<br />

Table 15–2 Attributes of <strong>the</strong> body sub-element of mail<br />

Attribute Valid values Description<br />

Example<br />

Elements of a Distribution XML File<br />

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

The source for content of an e-mail. The content is<br />

displayed in <strong>the</strong> body of <strong>the</strong> e-mail. In <strong>the</strong> absence<br />

of a specified srcType, <strong>the</strong> default is used.<br />

format html|htmlcss|ascii Default: html<br />

Required when srcType is report with a<br />

format o<strong>the</strong>r than html, <strong>the</strong> default; o<strong>the</strong>rwise<br />

format is optional. The format of <strong>the</strong> content.<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 />

<br />

<br />

Attached are quarterly results.<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Required/Optional<br />

Optional. You can have as many attach elements as you require with a mail<br />

element. Note that attach is also a sub-element of foreach, and foreach requires<br />

that at least one of its sub-elements be used (out of<br />

mail,file,printer,destype,and attach).<br />

Description<br />

Attach specifies attachments <strong>to</strong> <strong>the</strong> e-mail. Additionally, attach must have at least<br />

one include sub-element, and can have more than one if srcType="report".<br />

Attach attributes are listed and described in Table 15–3.<br />

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

Attribute Valid values Description<br />

format pdf|html|htmlcss|r<br />

tf|<br />

ascii|xml|dflt<br />

Default: pdf<br />

Required when srcType is report and <strong>the</strong> report<br />

format is o<strong>the</strong>r than pdf, <strong>the</strong> default; o<strong>the</strong>rwise<br />

format is optional. The format of <strong>the</strong> attached<br />

material, for example format="htmlcss".<br />

Creating Advanced Distributions 15-9

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

Saved successfully!

Ooh no, something went wrong!