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.

Example 4: Sending a report output <strong>to</strong> a printer<br />

rwrun report=test.rdf userid=scott/tiger@mydb<br />

desformat=pdfDESTYPE=printer DESNAME=myprinter<br />

Example 5: Sending a report output via e-mail<br />

rwrun report=test.rdf userid=scott/tiger@mydb<br />

desformat=pdfDESTYPE=mail DESNAME="emp1@comp.com,<br />

emp2@comp.com"cc="emp3@comp.com"bcc="mgr@comp.com"<br />

reply<strong>to</strong>="me@comp.com" from="me@comp.com"<br />

Command Overview<br />

Example 6: Sending a report output <strong>to</strong> <strong>Web</strong>DAV (any <strong>Web</strong>DAV server or <strong>Oracle</strong>AS<br />

Portal <strong>Web</strong>DAV)<br />

rwrun report=test.rdf userid=scott/tiger@mydb<br />

desformat=htmlcssDESTYPE=webdav<br />

DESNAME="http://myusername:mypassword@mywebdavserv.com/mydir/test.html"<br />

Example 7: Sending a report output <strong>to</strong> <strong>Oracle</strong>AS Portal<br />

rwrun report=test.rdf userid=scott/tiger@mydbDESTYPE=oracleportal<br />

desformat=PDF PAGEGROUP=mypagegrp OUTPUTPAGE=reports_output<br />

ITEMTITLE=push<strong>to</strong>portal STATUSPAGE=result<br />

Example 8: Sending an XML PDS report output <strong>to</strong> a file<br />

rwrun report=myxmlpdstest.rdf destype=file desformat=PDF<br />

desname=c:\mydir\my.pdf<br />

Example 9: Sending a JDBC PDS report output <strong>to</strong> a file<br />

rwrun report=myjdbcpdstest.rdf destype=file desformat=PDF<br />

desname=c:\mydir\myxml.pdf p_<br />

jdbcpds=sybuser/sybpwd@server1.mydomain.com:1300<br />

Example 10: Distributing a report output <strong>to</strong> multiple destinations<br />

rwrun report=test.rdf userid=scott/tiger@mydbDISTRIBUTE=yes<br />

DESTINATION=c:\mydistribute.xml<br />

Example 11: Using a secured <strong>Reports</strong> Server<br />

rwrun report=test.rdf userid=scott/tiger@mydb desformat=pdf<br />

destype=file desname=test.pdfAUTHID=myadmin/myadmin<br />

Example 12: Running a report with e-mail notification<br />

rwrun report=test.rdf userid=scott/tiger@mydb destype=file<br />

desformat=pdf desname=test.pdfNOTIFYSUCCESS="emp@comp.com"<br />

NOTIFYFAILURE=“admin@comp.com"<br />

Example 13: Running a report with <strong>the</strong> traceopts enabled<br />

rwrun report=test.rdf userid=scott/tiger@mydb destype=file<br />

desformat=pdf desname=test.pdf TRACEOPTS=trace_prf<br />

TRACEMODE=trace_replace<br />

Command Line Options A-7

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

Saved successfully!

Ooh no, something went wrong!