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

PFACTION command line keyword

PFACTION specifies the action string for a Parameter Form. When a request is submitted through rwclient or the OracleAS Forms Services keyword RUN_REPORT_OBJECT to run a report that has a Parameter Form, the Parameter Form generated cannot be used unless PFACTION is included in the command line. The unusable Parameter Form is caused by an empty action attribute (because rwclient and RUN_REPORT_OBJECT call Oracle Reports directly on the server, Oracle Reports cannot access the Web environment to obtain the information required to populate the action attribute when generating the HTML Parameter Form).

The action attribute is part of the standard HTML form tag that defines the action that is performed when the end user clicks Submit. The action attribute in the Oracle Reports Parameter Form should contain hidden runtime parameters that are required to process the Oracle Reports request after the end user clicks Submit.

The executables that can use this keyword are:

rwbuilder no
rwrun no
rwclient yes
rwcgi no
rwserver no
rwservlet no
rwconverter no

Note: PFACTION is also used with the Oracle AS Form Services keyword RUN_REPORT_OBJECT, which is the most secure approach for calling Oracle Reports from Oracle Forms on the Web. For detailed information about using RUN_REPORT_OBJECT to call Oracle Reports from Oracle Forms, refer to the Oracle Application Server 10g Integrating Oracle Reports in Oracle Forms Services Applications white paper on OTN (http://otn.oracle.com/products/forms/pdf/10g/frm10gsrw10g.pdf). Also refer to the Oracle Application Server Forms Services Deployment Guide.

Syntax

PFACTION=request_URL_to_rwservlet?_hidden_encoded_original_url_string

Values

Description

request_URL_to_rwservlet

The http://host:port/reports/rwservlet URL.

encoded_original_url_string
The query string to run the report.

Example


rwclient.exe report=pform.rdf destype=cache desformat=pdf paramform=yes 
PFACTION="http://mymachine.mycompany.com:7777/reports/rwservlet?_hidden_report=pform.rdf%20destype=cache%20desformat=pdf"

See also

Command line keywords

Using the command line

Running a report from the command line