partsViewer tag

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

Each instance of the partsViewer tag requires a report tag to specify the report to display. If multiple instances of the report parts 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

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

zoomPercentage

Sets the zoom percentage that is used to display the report.

100

No

styleSheet

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

default.css

No

rotateSections

Sets whether the viewer will rotate sections (that is, convert columns to rows or convert rows to columns).

false

No

title

Sets the title displayed at the top of the viewer.

null

No

preserveLayout

Sets whether the page layout is preserved when rendering the report parts.

false

No

numberOfRecords

Sets the number of records to display on a page.

10

No

showHeadings

Sets whether the viewer will display report object names.

false

No

showPageNavigationLinks

Sets whether page navigation links are included when rendering the report parts viewer.

true

No

border

Sets whether a border is included when rendering the report parts viewer.

false

No

Behavior

AttributeDescriptionDefaultRequired

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

enableImageForMobileDevices

Sets whether the report parts viewer is enabled for mobile devices.

Note:    The Java Reporting Component does not support generating reports for display on mobile devices.

false

No

mobileDevicesCharset

Sets the charset to use for mobile devices.

Note:    The Java Reporting Component does not support generating reports for display on mobile devices.

UTF-8

No

Report Source

AttributeDescriptionDefaultRequired

reportSourceType

Specifies the type of report source the report parts 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 report parts viewer.

CrystalViewer

Yes



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