business intelligence vendor

IFrame Integration Example

As a further example, the HTML markup below generates a simple web page with two divs, the top div containing a heading and some text, and the bottom div containing an IFrame with embedded report. To run this example, replace “remotehost” below with the address of the remote server on which the report engine is running.

View a five-minute Flash demo to get an overview of what InetSoft's business intelligence software, Style Intelligence, can do and how easy it is to use. KPI dashboard demo

 

 

 

 

 

<html>
 <head>
    <title>IFrame Integration Example</title>
    <meta http-equiv="content-type" content="text/html;
       charset=utf-8" />
 <link href="hostStyle.css" rel="stylesheet" type="text/css" />
 </head>
   <body>
    <div id="TitleDiv">
    <h1>IFrame Integration Example</h1>
    <p>This is an example of IFrame integration.</p>
    </div>
      <div id="IFrameDiv">
    <iframe src="http://remotehost:8080/sree/
       Reports?op=frameReplet&name=OrderList" frameborder="1"
       width="100%" height="100%">
    <p>Text for obsolete browsers.</p>
    </iframe>
    </div>
 </body>
 </html>

The style of the above web page, including the size and placement of the div containing the IFrame, is controlled by the following generic CSS formatting instructions (hostStyle.css).

html, body {
    margin:0;
    padding:0;
    height:100%;
    font-family: arial;
 }
 div {
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    padding:0;
    background: white;
 }
 div#IFrameDiv {
    height: 75%;
    bottom:0;
 }
 div#TitleDiv {
    height: 20%;
    text-align:center;
 }

Advantages of IFrame Integration

IFrame integration is the recommended alternative to JSP-based integration, and there are several advantages that make IFrames the preferred approach in most cases:

• IFrames are easier to use, and Style Intelligence's report design architecture is geared toward IFrame integration. JSPs can be time-consuming to build and require knowledge of the JSP Tag Library.

• Reports that are integrated using JSP technology do not offer the end user Ad Hoc reporting functionality or portal utilities. These features are fully retained in IFrame-integrated reports.

• Certain application servers (WebLogic) require specific configurations and settings when using the JSP Tag Library. This complexity is avoided in the IFrame approach.

Previous: IFrame Integration Next: JSP Tags for Embedding Reports

More Resources:

  >> OLAP and Data Warehouses
  >> Performance Management Product
  >> Easy Business Intelligence
  >> Enterprise Data Mashup
 
Copyright © 2012, InetSoft Technology Corp.
InetSoft Technology reporting vendor
Ad Hoc Reports | Business Dashboard | Business Intelligence Analytics | Business Intelligence Solution | Business Reporting Software | Dashboard Metrics | Financial Reporting Software | KPI Software | OLAP | Operational BI | Performance Management System | Real Time Reporting | Web Based Reporting Tools