Opening and Closing the TIBCO WebFOCUS Viewer

How to:

Reference:

You can specify a target frame in which to open the WebFOCUS Viewer, and a home page that displays when you close the Viewer.

 

Syntax: How to Open the WebFOCUS Viewer in a Target Frame

SET WEBVIEWTARG = {target_frame|OFF}

where:

target_frame

Is the name of an existing frame in the browser or one of the following reserved HTML target frames:

_blank

Opens the Viewer in a new browser window. This is the default for reports that do not have accessibility enabled.

_self

Opens the Viewer in the same frame as the anchor.

_parent

Opens the Viewer in the immediate parent frame that contains the anchor.

_top

Opens the Viewer in the current browser window.

OFF

Opens the Viewer in the frame from which you ran the report. This is the default for reports that have accessibility enabled.

Note: For more information on enabling accessibility, see ACCESSIBLE.

Syntax: How to Display a Home Page When You Close the WebFOCUS Viewer

SET WEBVIEWHOME = {home_URL|OFF}

where:

home_URL

Is a valid URL that displays an HTML page when you close the Viewer.

OFF

Displays a blank browser window when you close the Viewer. You must enter another URL to run another report. OFF is the default value.

Reference: Closing the WebFOCUS Viewer

The Close button, located on the Control Frame, closes the Viewer and removes the report from the web server. The page the browser displays next depends on the WEBVIEWTARG and the WEBVIEWHOME settings, as follows:

  • If you set WEBVIEWTARG to _blank, the window that contained the Viewer is removed. The browser does not display any page in any frame, and the WEBVIEWHOME setting has no effect.
  • If you set WEBVIEWTARG to any other value, the result of clicking Close depends on the WEBVIEWHOME setting:
    • If you set WEBVIEWHOME to a URL, the browser displays the page associated with the URL in the frame that the Viewer occupied.
    • If you set WEBVIEWHOME to OFF, the browser displays a blank page.