Reporting Services Properties

The following properties are available for Reporting Services objects, grouped by the categories shown in the View Property Sets editor.

Appearance

Property Type Default Description

CaptionAfterBuild

string

The text that appears on the view tab or title bar after the view builds or refreshes. If no value is specified, the CaptionBeforeBuild value is used. If no CaptionBeforeBuild value is specified, the view name is used.

The value can be tokenized, which allows the caption to reflect the current context. For example, if the view has selectors and the CaptionAfterBuild contains a token for each of the selectors, the caption after the view is built or refreshed reflects the selections represented by the view data.

See also: CaptionBeforeBuild

CaptionBeforeBuild

string

The text that appears on the view tab or title bar when the view is opened and before the view builds for the first time. If no value is specified, the view name is used as the caption.

The value can be tokenized.

See also: CaptionAfterBuild

Behavior

Property Type Default Description

AllowOnlySingleInstanceFromViewSelector

bool

false

Controls whether only a single instance of the view can be opened by the user from the view selector. When the setting is True, only a single instance is allowed. When the user attempts to open another instance of the view from the view selector, the existing view’s window is activated.

AllowSave

bool

false

Controls whether the view can be saved by a user. If true, the Save View As and Save View button tools are enabled.

AllowSharing

bool

false

Controls whether a saved view can be shared by the owner.

AllowSharing is only applicable when AllowSave is true.

See also: AllowSave

AutoBuildOnOpen

bool

false

Controls whether the view automatically builds when opened.

If true, the view automatically builds, but only if the view is buildable. Whether or not the view is buildable is based on the view state. For instance, if a view has selectors and each selector has a selection, the view is buildable.

Components

Property Type Default Description

ComponentConfigurations
displayed as Components

List<ComponentConfiguration>

The collection of components that are added to the view upon initialization. Component configurations define properties for component plugins that interact with this view.

Notes

Property Type Default Description

Notes

string

The Notes property can be used by developers to record information related to the view, such as notes about the design, history of changes, etc.

Report Parameters

Property Type Default Description

TokenToReportParameterMapping
displayed as TokenToReportMapping

List<ReportParameterTokenPair>

Report Server

Property Type Default Description

ReportPath

string

Path to the report on the report server.

ReportServerURL

string

The report server’s URL.

Report Viewer

Property Type Default Description

ProcessingMode

ProcessingMode

ProcessingMode.Remote

Gets or sets the processing mode of the ReportViewer control.

PromptAreaCollapsed

bool

true

Controls whether the ReportViewer control’s prompt area is collapsed.

ShowBackButton

bool

true

Controls whether the Back button is visible on the control.

ShowContextMenu

bool

true

Controls whether the Context menu is visible.

ShowCredentialPrompts
displayed as ShowCredentialsPrompts

bool

true

Controls whether prompts for user credentials will be displayed.

ShowDocumentMapButton

bool

true

Controls whether the Document Map button is visible on the control.

ShowExportButton

bool

true

Controls whether the Export button is visible on the control.

ShowFindControls

bool

true

Controls whether the Find text box is visible on the control.

ShowPageNavigationControls

bool

true

Controls whether the page navigation controls are visible.

ShowParameterPrompts

bool

true

Controls whether parameter prompts are visible.

ShowPrintButton

bool

true

Controls whether Print button is visible.

ShowProgress

bool

true

Controls whether progress animation is displayed during report processing.

ShowPromptAreaButton

bool

true

Controls whether the Prompt Area button is visible.

ShowRefreshButton

bool

true

Controls whether the Refresh button is visible.

ShowStopButton

bool

true

Controls whether the Stop button is visible.

ShowToolBar

bool

true

Controls whether the Toolbar is visible.

ShowZoomControl

bool

true

Controls whether the Zoom text box is visible.

ZoomMode

ZoomMode

ZoomMode.Percent

Gets or sets the zoom mode of the control.

ZoomPercent

int

100

Gets or sets the percentage of zoom used for the report display.

Selectors

Property Type Default Description

SelectorConfiguration

List<SelectorInfo>

Controls which selectors are displayed for the view and specifies configuration settings for each selector, including 1) the selector list and the connection used to populate the selector, 2) a toggle that controls whether the user is allowed to select multiple items from the selector, and 3) an optional caption that overrides the default caption.

SelectorControlDisplayMode

SelectorControlUIDisplayMode

SelectorControlUIDisplayMode.DockedControl

Controls whether a docked pane or a modal dialog contains the user-interface control that displays the selectable items. The setting is only applicable to selectors that display the items in a user-interface control, such as a treeview or listbox, when the user clicks the 'Show' button on the selector tool.

DockedControl — Displays a pane that contains the user-interface control. The pane is docked the first time the user clicks the 'Show' button. The docked location is specified by the SelectorDockedControlLocation. If multiple selector user-interface controls are docked, each is displayed as a separate tab in the pane.

LockedDockedControl — Same as a DockedControl, except that the user cannot move the control to a different docked location.

ModalDialog — Displays a modal dialog that contains the user-interface control. The dialog is displayed each time the user clicks the 'Show' button, and must be closed by the user.

SelectorDockedControlGroupStyle

DockedControlGroupStyle

DockedControlGroupStyle.Tabbed

The layout of the group of dockable selector user-interface controls. The setting is only applicable when the SelectorControlDisplayMode is set to DockedControl.

Tabbed - Each selector control is displayed as a tabbed window within the group. Only the content of the selector control that is displayed in the active tab is visible.

Stacked - The selector controls are displayed as stacked tiles.

SlidingHeaders - Each selector control is represented by a button and only the content of the active selector control is visible. A selector control is activated by pressing its button.

SideBySide - The selector controls displayed as side-by-side tiles.

The combination of the SelectorDockedControlLocation and SelectorDockedControlGroupStyle settings determines the location and layout of the selector controls.

See also: SelectorControlUIDisplayMode, SelectorDockedControlLocation

SelectorDockedControlLocation

DockedControlLocation

DockedControlLocation.Right

The initial docked location for dockable selector controls. The setting is only applicable when the SelectorControlDisplayMode is set to DockedControl.

SelectorLastUsedItemContext

LastUsedItemContextScope

LastUsedItemContextScope.BySelector

Controls the caching of the item(s) selected when the view is built. The cache is used to determine the default selected item(s) for the selectors that are assigned a selector list with a DefaultSelectionPolicy of LastUsedItem. With BySelector, the cache is shared by all views configured with the BySelector context. With ByView, the cache is used only by this view. With ByLabel, the cache is shared by all views configured with the ByLabel context and assigned the same SelectorLastUsedItemContextLabel as this view.

SelectorLastUsedItemContextLabel

string

The context label used when the SelectorLastUsedItemContext is set to ByLabel. Views that are assigned the same label share the same default selections.

Status Information

Property Type Default Description

ProgressTextAlign

StatusBarContentAlignment

StatusBarContentAlignment.Center

Controls the alignment of the progress text within the progress text area on the status bar.

ProgressTextAlign is only applicable when ShowStatusBar is true.

ShowProgressText

bool

true

Controls whether the progress text is displayed in the status bar. ShowProgressText is only applicable when ShowStatusBar is true.

ShowStatusBar

bool

true

Controls whether the status bar is displayed in the view window.

ShowStatusIcon

bool

true

Controls whether the status icon is displayed in the status bar. ShowStatusIcon is only applicable when ShowStatusBar is true.

ShowStatusIconOnViewTab

bool

true

Controls whether a status icon is displayed on the view window tab.

ShowStatusText

bool

true

Controls whether the status text is displayed in the status bar. ShowStatusText is only applicable when ShowStatusBar is true.

StatusTextBuildable

string

Ready to Build

The text displayed in the status bar to indicate the view is buildable as determined by the view state. For instance, a view that has selectors is typically considered buildable when each selector has a selected item.

StatusTextCancelled

string

Cancelled

The text displayed in the status bar to indicate the view was cancelled.

StatusTextError

string

Error

The text displayed in the status bar to indicate a view operation failed.

StatusTextInfo

string

Information

The text displayed in the status bar to indicate that the status details contain information. The details are displayed when the Details button is clicked.

StatusTextNotBuildable

string

Not Ready to Build

The text displayed in the status bar to indicate the view is not buildable as determined by the view state.

StatusTextReady

string

Ready

The text displayed in the status bar to indicate a view operation is complete.

StatusTextWaitingForServerResponse

string

Waiting for Server Response

The text displayed in the status bar to indicate the view is waiting for a response from the server.

StatusTextWarning

string

Warning

The text displayed in the status bar to indicate that the status details contain a warning. The details are displayed when the Details button is clicked.

StatusTextWorking

string

Working

The text displayed in the status bar to indicate a view operation is processing.

Tokens

Property Type Default Description

ViewTokens

TokenTable

The token definitions assigned to the view. The view tokens along with the application tokens and, if applicable, selector tokens are used during token replacement.

UI

Property Type Default Description

MergeableToolbarsConfigurationID

string

The ID of the toolbars configuration that defines the view-specific menus and tools. At run-time, the menus and tools are merged with the application menus and tools.

ViewToolbarsConfigurationID

string

The ID of the toolbars configuration that defines the view-specific menus and tools displayed within the view window.

WindowsViewUIObjectTypeID

string

The object type ID of the Windows form that contains the user-interface controls used to display the view data.

This is a required setting.

View Help

Property Type Default Description

ViewHelpCaption
displayed as Caption

string

The caption for the View Help window.

ViewHelpDisplayMode
displayed as DisplayMode

SelectorControlUIDisplayMode

SelectorControlUIDisplayMode.DockedControl

Controls whether a docked window or a modal dialog contains the view help.

DockedControl — Displays a docked window that contains the view help. The window is docked the first time the window is displayed. The DockedControlLocation indicates along which side the window is located.

LockedDockedControl — Same as a DockedControl, except that the user cannot move the window to a different docked location.

ModalDialog — Displays a modal dialog that contains the view help. The dialog is displayed each time the user clicks the 'View Help' button, and must be closed by the user.

ViewHelpDisplayOnViewOpen
displayed as DisplayOnViewOpen

bool

true

Whether to display the View Help dockable window when the view is opened.

ViewHelpDockedControlLocation
displayed as DockedControlLocation

DockedControlLocation

DockedControlLocation.Right

When the DisplayMode is DockedControl or LockedDockedControl, indicates the initial docked location for the view help window.

ViewHelpRTFBinaryArtifact
displayed as RTFBinaryArtifact

BinaryArtifactIdAndVersion

The ID and version of the RTF binary artifact that contains the help content.

Most of the rich text formatting is supported in the View Help control, including font sizes, colors, underlines, strike-throughs, italics, bolding, and highlights as well as bulleted and numbered lists, paragraph alignment, indentation, and images.

Custom functionality in the View Help content includes: - A Worksheet Navigation Link navigates to a specified address in the workbook. The link address is GoTo|<worksheet address>, such as GoTo|'Product Analysis'!$C$10. - A Tool Click Link triggers a click action for a specified tool key. The link address is ToolClick|<tool key>, such as ToolClick|SaveView. The tool can be visible or hidden. - Workbook script functions can be included in the content. - Tokens can be included in the content.

The workbook script functions and tokens are resolved when the control is opened, and, if the RefreshOnViewBuild view setting is True, also when the view builds.

ViewHelpRefreshOnViewBuild
displayed as RefreshOnViewBuild

bool

false

Whether to refresh the View Help after the view is built.