A script-enabled browser is required for this page to function properly.

SRW.SET_PDF_ACTION built-in procedure

This procedure specifies a command line that will be executed on the local machine when the object is clicked in the PDF viewer.

Note: An object that is associated with an action cannot also be the source of a Web link.

Syntax

SRW.SET_PDF_ACTION('action');

 

Parameter

Description

action

Is any valid command line on the local machine (for example, c:\orawin\bin\RWRUN userid=scott/tiger report=example.rdf or /usr/local/bin/phone smith).

Restrictions

GUI access

You can also define this attribute using the Reports Builder user interface:

Property Inspector

Set the Application Command Line (PDF) property.

Example

The format trigger below runs a report named example.rdf when the button object U_Report is clicked in the PDF viewer.

function U_ReportFormatTrigger return boolean is
begin
SRW.SET_PDF_ACTION ||
('c:\orawin\bin\rwrun60' ||
'userid=scott/tiger ' ||
'report=example.rdf');
end;

See also

Creating an application command line link using PL/SQL

About the Reports Builder built-in package (SRW)

SRW built-in package