viewer tag

The viewer tag is the main tag that instantiates the DHTML report page viewer. It creates the DHTML report page viewer and allows you to set properties through supported attributes.

Each instance of the viewer tag requires a report tag to specify the report to display. If multiple instances of the viewer will be used on a single HTML page, each instance must have a unique name, specified through the viewerName attribute.

Nested tags

report tag

Attributes

Appearance

AttributeDescriptionDefaultRequired

enablePageToGrow

Specifies whether the viewer should ignore the height and width attributes and expand to fit the report content.

true

No

height

Sets the height of the viewer in pixels.

600

No

width

Sets the width of the viewer in pixels.

800

No

left

Sets the position of the top-left corner of the viewer on the x-axis.

0

No

top

Sets the position of the top-left corner of the viewer on the y-axis.

0

No

displayGroupTree

Specifies whether the viewer should display the group tree.

true

No

displayPage

Sets whether to display the report page.

true

No

displayToolbar

Sets whether to display the toolbar.

true

No

groupTreeWidth

Sets the width of the Group Tree in the units set in groupTreeWidthUnit.

200

No

groupTreeWidthUnit

Sets whether to use pixels or percentage to determine the width of the Group Tree.

pixel

No

zoomPercentage

Sets the zoom percentage used when displaying the report.

100

No

styleSheet

Sets the style sheet that is used to display the report content.

default.css

No

Behavior

AttributeDescriptionDefaultRequired

printMode

Sets whether to print using PDF or ActiveX print mode when the user clicks the print button.

PDF

No

allowDatabaseLogonPrompting

Enables the option to prompt the user to log on to the database before running the report.

true

No

allowDrillDown

Sets whether to allow users to drill down on the report.

true

No

allowParameterPrompting

Enables the option to prompt the user for parameters to use when running the report.

true

No

hyperlinkTarget

Sets the window or frame to display hyperlinked documents.

_self

No

isOwnPage

Sets whether the viewer control owns the page.

false

No

productLocale

Sets the locale used to display all text and formatting generated by the viewer (such as the toolbar).

browser locale

No

Toolbar

AttributeDescriptionDefaultRequired

displayToolbarViewList

Sets whether to display the View list on the toolbar.

true

No

displayToolbarExportButton

Sets whether to display the Export button on the toolbar.

true

No

displayToolbarFindPageButton

Sets whether to display the Go To Page button on the toolbar.

true

No

displayToolbarPageNavigationButtons

Sets whether to display the page navigation buttons on the toolbar.

true

No

displayToolbarPrintButton

Sets whether to display the Print button on the toolbar.

true

No

displayToolbarRefreshButton

Sets whether to display the Refresh button on the toolbar.

false

No

displayToolbarFindButton

Sets whether to display the Search button on the toolbar.

true

No

displayToolbarToggleTreeButton

Sets whether to display the Group Tree toggle button on the toolbar.

true

No

displayToolbarZoomList

Sets whether to display a zoom percentage drop down list on the toolbar.

true

No

displayToolbarCrystalLogo

Sets whether to display the Business Objects logo on the toolbar.

true

No

Report Source

AttributeDescriptionDefaultRequired

reportSourceType

Specifies the type of report source the viewer will use.

no default value

Yes

reportSourceVar

Sets the name of the variable where the report source will be cached.

crystalReportSource

No

Identification

AttributeDescriptionDefaultRequired

viewerName

Sets the name of the viewer.

CrystalViewer

Yes



Business Objects
http://www.businessobjects.com/
Support services
http://www.businessobjects.com/services/support/