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.

Defining Cus<strong>to</strong>m/Pluggable Destinations<br />

Fax destination<br />

You can specify <strong>the</strong> destination as per <strong>the</strong> generic tag structure in <strong>the</strong> distribution XML<br />

file as follows:<br />

Example 15–1 Generic Fax Destination<br />

<br />

<br />

<br />

<br />

oraclePortal Destination<br />

You can specify <strong>the</strong> destination as per <strong>the</strong> generic tag structure in <strong>the</strong> distribution XML<br />

file as outlined in Example 15–2.<br />

Example 15–2 illustrates a sample structure for DESTYPE=ORACLEPORTAL. When you<br />

push a report output <strong>to</strong> Portal using DESTYPE=ORACLEPORTAL, <strong>the</strong> report output<br />

will be created in <strong>the</strong> PAGEGROUP folder.<br />

See Also: Command Line Options<br />

For more information on <strong>the</strong> properties outlined in <strong>the</strong> examples.<br />

Example 15–2 Simple Portal Destination<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

You can specify <strong>the</strong> cus<strong>to</strong>m destination in accordance with <strong>the</strong> generic destype tag<br />

structure for a pluggable destination. Alternatively, for ease of use, you can specify a<br />

cus<strong>to</strong>m, more specific tag structure.<br />

Example 15–3 Cus<strong>to</strong>m Fax Destination<br />

<br />

<br />

<br />

These tags are unknown <strong>to</strong> <strong>the</strong> distribution.dtd, <strong>the</strong>refore, <strong>the</strong>y need <strong>to</strong> be<br />

mapped <strong>to</strong> <strong>the</strong> generic destype tag structure specified in <strong>the</strong> distribution.dtd.<br />

<strong>Reports</strong> runtime cannot process <strong>the</strong> tag structure as illustrated here because <strong>the</strong><br />

tag is not a standard destination specified in <strong>the</strong> distribution.dtd file. The<br />

cus<strong>to</strong>m tag structure must <strong>the</strong>refore be converted <strong>to</strong> <strong>the</strong> generic format as shown in<br />

Example 15–1.<br />

Use <strong>the</strong> distribution.xsl file <strong>to</strong> transform user-defined cus<strong>to</strong>m tags in <strong>the</strong><br />

distribution XML file <strong>to</strong> a format required by <strong>Reports</strong> runtime. <strong>Reports</strong> can understand<br />

only <strong>the</strong> generic destype tag structure for any pluggable destination.<br />

The distribution.xsl file is an XML style sheet, located on both Windows and UNIX at<br />

ORACLE_HOME\reports\conf\distribution.xsl. You can modify this file by<br />

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