The simplest way to integrate reports with a third party web application is to present the reports inside an IFrame. A report embedded in an IFrame can be freely viewed and manipulated, even when the report engine runs in a separate container. This eliminates the need for a proxy.
The basic syntax for integrating an individual report into an IFrame is shown below, where ReportName is the name of the desired report, and remotehost is the remote server name:
<iframe src="http://remotehost:8080/sree/ Reports?op=frameReplet&name=ReportName&outtype=REPORT"> <p>Text for obsolete browsers.</p> </iframe>
Similarly, a viewsheet can also be loaded in an IFrame via a simple URL.
<iframe src="http://remotehost:8080/sree/ Reports?op=vs&path=/ViewsheetName"> <p>Text for obsolete browsers.</p> </iframe>
The path should start with the username for a user scope viewsheet. Also, an identifier parameter can be provided in place of path, and an edit=true parameter can be used to load the viewsheet in the Visual Composer.
Copyright © 2024, InetSoft Technology Corp.