InetSoft Product Information: Browse Reports From a Web Browser

InetSoft provides a viewer to browse reports from a web browser: the User Portal. The User Portal is based on HTML, CSS, and JavaScript. It can be used with Firefox 2.x and later, Netscape 6.x and later, and Internet Explorer 6.x and later.

The User Portal is different from the previewer provided by the Report Designer. A previewer's primary function is to preview a report before it is printed. It has functions to zoom and print a report. On the other hand, the viewer is designed from the ground up to browse interactive reports.

In addition to displaying the contents of a report, it also handles the rich set of user interactions supported by the replet environment and provides advanced searching and navigation functions.

We will cover the use of the viewer in this chapter. Note that the differences in browsers have little effect on the report developer.

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

User Report Portal

The User Portal is a combination of JavaScript code and dynamically generated DHTML from the ServletRepository. The ServletRepository is the only servlet that handles all User Portal related requests. It must be registered with a servlet container. Refer to the Administration Reference for more information regarding servlet setup and configuration

Custom Buttons

The predefined buttons on report viewers provide the most commonly needed functions for manipulating reports. An application may need to add more buttons to the viewer to perform application-specific actions. The viewer supports this need through the custom button mechanism.


A ViewerAction object represents a custom button on a viewer. A ViewerAction object specifies the icon and label for the button and the action to take when the button is pressed. The ViewerAction interface in inetsoft.sree package defines the API for the custom button object. It can be implemented to create specific viewer buttons.

ViewerAction methods


Return the icon resource name. The icon will be loaded as the specified resource and used to create a button on the viewer.


Return the label for the button. If the viewer is configured to use a text-only toolbar on a browser, the label is used to create a text based tool button. Otherwise, the label is used as the tool tip for the tool button.


Handles button click action. It can perform application specific actions when the button is pressed.

Previous: Server-Side Report Event Handling