Create the ReportsTools directory as follows:

18-16 Publishing Reports to the Web with Oracle Reports Services

18.13.2 Enabling Key Mapping

Key mapping is enabled when a valid file with the standard file name, cgicmd.dat, is present in the default location: DOMAIN_ HOMEconfigfmwconfigserversWLS_SERVER_ NAMEapplicationsreports_versionconfigurationcgicmd.dat directory on the Web server machine on either Windows or UNIX.

18.13.3 Adding Key Mapping Entries to a Key Map File

To add key mapping entries to a key map file: 1. Navigate to the cgicmd.dat file on the machine that hosts your Reports Server, and open it with a text editor. Youll find this file in the following directory on both Windows and UNIX: DOMAIN_HOMEconfigfmwconfigserversWLS_SERVER_NAMEapplicationsreports_ versionconfigurationcgicmd.dat 2. Add a key mapping entry. For example: key1: report=your_report.rdf userid=usernamepasswordmy_db desformat=html SERVER=server_name destype=cache In this example, key1 is the name of the key. Except for the special parameters that are described in the file itself, the command line options follow the syntax rules of rwclient. See Section A.2.1, rwclient for more information. 3. Add or update the hyperlinks on your Web page. For more information, see Section 18.5, Specifying a Report Request from a Web Browser .

18.13.4 Using a Key with Non-JSP Reports

When you place a key name in a report request URL, it must always be the first value within the query string immediately after the question mark. For example: http:…rwservlet?keyname The key name is case-sensitive; that is, it must exactly match the case specified in the key mapping file cgicmd.dat. The following example shows a key mapping for a restricted run with a parameter form. The URL might be: http:web_server.domain_name:portreportsrwservlet?run_reportpar1par2parN The key mapping file cgicmd.dat might contain: run_report: report=myreport deptno=1 myparam=2 This generates the equivalent of the following command line request: rwclient report=myreport deptno=par1 myparam=par2 parN Note: See Section A.5.14, CMDKEY for more information.