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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table C–1 (Cont.) RWWWVREG.REGISTER_REPORT parameters<br />

Parameter Description<br />

PL/SQL Batch Registering Function<br />

P_PARAMETERS Is <strong>the</strong> user and system parameters’ default, high, and low<br />

values, or list of values name.<br />

Note: The P_PARAMETERS parameter does not have a<br />

corresponding rwconverter option. Hence, if you want <strong>to</strong><br />

batch import user parameter values, ranges, or lists of values,<br />

you must manually edit <strong>the</strong> SQL script generated by<br />

rwconverter.<br />

P_PARAMETERS corresponds <strong>to</strong> <strong>the</strong> (parameter) Name, LOV,<br />

Low Value, and High Value fields in <strong>the</strong> Create Report<br />

Definition File Access wizard and <strong>the</strong> Edit Report Definition<br />

File page.<br />

The default corresponds <strong>to</strong> <strong>the</strong> value set in <strong>the</strong> Runtime<br />

Parameter Form for <strong>the</strong> specified parameter.<br />

For example:<br />

P_PARAMETERS=>'(P_LASTNAME, LOV=LASTNAME_LOV)<br />

(P_SSN)(COPIES, DEFAULT=1,LOW=1,HIGH=2)'<br />

where:<br />

P_LASTNAME, P_SSN, and COPIES are parameter names.<br />

LOV is <strong>the</strong> name of <strong>the</strong> list of values.<br />

DEFAULT is <strong>the</strong> default value.<br />

LOW is <strong>the</strong> low value in a range of values.<br />

HIGH is <strong>the</strong> high value in a range of values.<br />

P_TRIGGER Is <strong>the</strong> validation trigger written in PL/SQL that returns a<br />

boolean statement (e.g., true (succeeded) or false (failed)).<br />

P_TRIGGER corresponds <strong>to</strong> <strong>the</strong> text box in <strong>the</strong> Create Report<br />

Definition File Access wizard and <strong>the</strong> Edit Report Definition<br />

File page.<br />

For example:<br />

P_TRIGGER=>'Is begin<br />

IF UPPER(DESTYPE) = ''PRINTER'' AND<br />

EMPNAME = ''SMITH''<br />

THEN<br />

RETURN(TRUE);<br />

ELSE<br />

RETURN(FALSE);<br />

END IF;<br />

end;'<br />

Batch Registering <strong>Reports</strong> in <strong>Oracle</strong>AS Portal C-7

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

Saved successfully!

Ooh no, something went wrong!