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.

Command Line Keywords<br />

Description Use P_SERVERS <strong>to</strong> specify <strong>the</strong> names of <strong>the</strong> restricted <strong>Reports</strong> Servers<br />

that can run <strong>the</strong> report. This keyword is only used when DTYPE=REGISTER.<br />

Syntax P_SERVERS=tnsname<br />

Values<br />

A.4.72 P_TRIGGER<br />

A.4.73 P_TYPES<br />

tnsname Any valid TNS name of <strong>the</strong> <strong>Reports</strong> Server (e.g., repserver), or a list of valid<br />

<strong>Reports</strong> Server TNS names enclosed by paren<strong>the</strong>ses with a comma separating <strong>the</strong><br />

names (e.g., repserver, acct_server, sales_server).<br />

Default None<br />

Usage Notes Access <strong>to</strong> <strong>the</strong> <strong>Reports</strong> Server(s) should already exist in <strong>Oracle</strong>AS Portal.<br />

Table A–83 indicates <strong>the</strong> commands that can use <strong>the</strong> P_TRIGGERS keyword.<br />

Table A–83 Commands that can use P_TRIGGER<br />

rwclient rwrun rwbuilder rwconverter rwservlet rwcgi rwserver<br />

no no no yes no no no<br />

Description Use P_TRIGGER <strong>to</strong> specify <strong>the</strong> PL/SQL function that is executed when<br />

parameter values are specified on <strong>the</strong> command line and when users accept <strong>the</strong><br />

Runtime Parameter Form. The function must return a boolean value (TRUE or FALSE).<br />

For example:<br />

P_TRIGGER=Is begin IF UPPER(DESTYPE) = 'PRINTER' AND EMPNAME =<br />

'SMITH' THEN RETURN(TRUE); ELSE RETURN(FALSE); END IF; end;<br />

This keyword is only used when DTYPE=REGISTER.<br />

Syntax P_TRIGGER=plsql_function<br />

Values<br />

plsql_function Any valid PL/SQL function that returns a boolean value.<br />

Default None<br />

Table A–84 indicates which commands can use <strong>the</strong> P_TYPES keyword.<br />

Table A–84 Commands that can use P_TYPES<br />

rwclient rwrun rwbuilder rwconverter rwservlet rwcgi rwserver<br />

no no no yes no no no<br />

Description Use P_TYPES <strong>to</strong> specify <strong>the</strong> allowable destination types for <strong>the</strong> specified<br />

reports. This keyword is only used when DTYPE=REGISTER.<br />

Syntax P_TYPES=destination_type<br />

Values<br />

Command Line Options A-59

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

Saved successfully!

Ooh no, something went wrong!