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.

Command Overview<br />

A.1.4 rwbuilder<br />

A.1.5 rwconverter<br />

The rwbuilder command invokes <strong>Reports</strong> Builder. When you include a<br />

REPORT|MODULE keyword with <strong>the</strong> rwbuilder command at <strong>the</strong> command prompt,<br />

<strong>the</strong>n press Enter, <strong>Reports</strong> Builder opens with <strong>the</strong> specified report highlighted in <strong>the</strong><br />

Object Naviga<strong>to</strong>r. When no report is specified, <strong>Reports</strong> Builder opens with a Welcome<br />

dialog offering you <strong>the</strong> choice of opening an existing report or creating a new one.<br />

Example<br />

rwbuilder report=myrep.rdf userid=scott/tiger@mydb<br />

The rwconverter command enables you <strong>to</strong> convert one or more report definitions or<br />

PL/SQL libraries from one s<strong>to</strong>rage format <strong>to</strong> ano<strong>the</strong>r. For example, you can use<br />

rwconverter <strong>to</strong>:<br />

■ Combine a report file with an XML file <strong>to</strong> create a new report<br />

■ Convert a report s<strong>to</strong>red in an .rdf file <strong>to</strong> a .rep,.rex,.jsp, or .tdf<br />

(template) file.<br />

Note: When a report is converted <strong>to</strong> a template, only objects in <strong>the</strong><br />

report's header and trailer sections and margin area are used in <strong>the</strong><br />

template. Objects in <strong>the</strong> main section are ignored.<br />

■ Convert a report s<strong>to</strong>red in a .rex file <strong>to</strong> an .rdf or a template (.tdf file)<br />

■ Convert a library s<strong>to</strong>red in <strong>the</strong> database <strong>to</strong> a .pld or .pll file<br />

■ Convert a library s<strong>to</strong>red in a .pld file in<strong>to</strong> a database library or a .pll file<br />

■ Convert a library s<strong>to</strong>red in a .pll file in<strong>to</strong> a database library of a .pld file<br />

Note: When you convert a report that has an attached library,<br />

convert <strong>the</strong> .pll files attached <strong>to</strong> <strong>the</strong> report before converting <strong>the</strong><br />

.rdf/.rex file.<br />

■ Batch create a PL/SQL script that batch registers reports in <strong>Oracle</strong>AS Portal<br />

In some cases, rwconverter will au<strong>to</strong>matically compile <strong>the</strong> report's PL/SQL as part<br />

of <strong>the</strong> conversion process. Provided your conversion destination is not a .rex file,<br />

rwconverter au<strong>to</strong>matically compiles PL/SQL under <strong>the</strong> following conditions:<br />

■ Converting <strong>to</strong> a .rep file. If <strong>the</strong>re are compile errors, rwconverter displays an<br />

error message and <strong>the</strong> .rep file is not created.<br />

■ Using a .rex file as <strong>the</strong> source<br />

■ Using a report created on ano<strong>the</strong>r platform as <strong>the</strong> source<br />

In all o<strong>the</strong>r situations, you must compile <strong>the</strong> report's PL/SQL yourself (e.g., using<br />

Program >> Compile >> All in <strong>Reports</strong> Builder).<br />

Note: Fonts are mapped when a report is opened by <strong>Reports</strong><br />

Builder or <strong>Reports</strong> Runtime, not during <strong>the</strong> conversion.<br />

A-8 <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!