Integrating Report Components in a Web Application

The ServletRepository generates DHTML output according to the parameters in HTTP requests. The parameters are embedded in the generated DHTML and are normally not used directly by an application to access the servlet.

This Appendix contains a partial list of the parameters for the servlet. Parameters for internal use only are not listed. The parameters can be used to construct a URL to access the server from application client-side code. The HTTP request can be submitted with both the GET and POST methods.

Also see IFrame Integration for information on integrating report components using the “op” codes described below.

#1 Ranking: Read how InetSoft was rated #1 for user adoption in G2's user survey-based index Read More

Displaying a Viewsheet

{servlet URL}?op=vs&path={viewsheet path}&edit=true|false e.g., http://localhost:8080/sree/Reports?op=vs&path=/Explore.

Generating a Report

{servlet URL}?op=frameReplet&name={replet name}&param1=val1 e.g., http://localhost:8080/sree/Reports?op=frameReplet&name=OrderList&customer=Rutgers+Bank&salesperson=Eric

Exporting a Report

{servletURL}?op=Replet&name={replet name}&outtype={export_type}&param1=val1... e.g., http://localhost:8080/sree/Reports?op=Replet&name=OrderList&outtype=PDF&customer=Rutgers+Bank&salesperson=Eric The {export_type} can be one of the following:
  • PDF: PDF file
  • EXCEL: Excel spreadsheet
  • EXCEL_SHEET: Excel spreadsheet without pagination
  • RTF: RTF document
  • RTF_LAYOUT: RTF document with pagination
  • HTML: HTML document
  • HTML_BUNDLE: HTML document and images in a zip file
  • CSV: Comma separated file
Read the top 10 reasons for selecting InetSoft as your BI partner.

Displaying a Page of a Generated Report

Note: Page numbering starts with 0.
{servlet URL}?op=Page&ID={replet ID}&pn={page num}&mode=0 e.g., http://localhost:8080/sree/Reports??op=Page&ID={replet ID}&pn=0&mode=0

Displaying the Replet Tree

{servlet URL}?op=EmbeddedTree e.g., http://localhost:8080/sree/Reports?op=EmbeddedTree

Previous: HTML, Excel, and PDF Report Output Formats