Set up the Target Report

42-10 Oracle Reports Users Guide to Building Reports 7. If the Single Sign-On login page displays, enter your Single Sign-On user name and password. For more information about OracleAS Single Sign-On, see the Oracle Fusion Middleware Publishing Reports to the Web with Oracle Reports Services manual. 8. When the Parameter Form displays, choose a department from the list. For example, choose Finance.

9. In the Login ID field, type the connect string for the database schema that the

emprev_param_your_initials.jsp report uses. For example, hrhrorcl: Figure 42–6 JSP Parameter Form with selections

10. Click Run Report.

11. The employee salary report displays with a graph at the top, and should look like this: Note: The connect string you type in the URL is for the database you used to create the data model in Section 42.3.1, Create a data model manually for the Parameter Form . For the purposes of this example, we have used plain text to pass the connect string. You can find more information about security in the chapter Securing Oracle Reports Services in the Oracle Fusion Middleware Publishing Reports to the Web with Oracle Reports Services manual. Building a Simple Parameter Form for a JSP-based Web Report 42-11 Figure 42–7 Sample employee report based on user parameters

42.6 Summary

Congratulations You have created a JSP Parameter Form for an existing Web report. You now know how to: ■ create a simple Parameter Form in HTML. ■ add a data model to a simple Parameter Form in Reports Builder. ■ modify an existing JSP-based Web report to accept user parameters. ■ test and deploy a JSP-based Web report with a JSP Parameter Form using Oracle WebLogic Server. For more information on any of the wizards, views, or properties used in this example, refer to the Oracle Reports online Help, which is available in Oracle Reports Builder or hosted on the Oracle Technology Network OTN, as described in Section 4.1.1, Using the Oracle Reports online Help . Note: If you are not sure whether your report appears as it should, try using the files we have provided, paramform.jsp and emprev_param.jsp and follow all the steps in this section to deploy the Parameter Form and the Web report.