SQL Excel View Properties

The following properties are available for SQL Excel View 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

AutoComplete Ranges

Property Type Default Description

AutoCompleteRanges

List<AutoCompleteRange>

Configures the auto-complete ranges.

Each AutoComplete Range defines the range of cells for which the configuration applies as well as the source from which (and when) the list of available cell values is generated along with various aspects of the presentation and behavior.

Behavior

Property Type Default Description

AllowCopyCutToClipboard

bool

true

Controls whether the user is allowed to copy and cut from the view to the clipboard using the Ctrl+C and Ctrl+X keys, respectively, or using the Copy and Cut tools.

When content is copied (or cut) from the view and then pasted into an Excel spreadsheet, any hidden rows and/or columns within the copied range are automatically unhidden in Excel.

AllowFindAndReplace

bool

true

Controls whether the Find and Replace dialog can be launched from the WorkbookView grid control.

The Find and Replace dialog is launched using the F5 + Shift, Ctrl + F, or Ctrl + H keys.

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.

AllowPaste

bool

true

Controls whether the user is allowed to paste into the grid control using the Ctrl+V or the Shift+Insert keys, or using the Paste tool.

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.

BackgroundThreadWorkbookCalculation

bool

true

Controls whether calculation of Excel formulas is performed on a background thread, which can improve performance.

PastePolicy

PasteOption

PasteOption.All

Controls whether formulas, formats, and/or values are pasted into a worksheet when the Ctrl+V or the Shift+Insert keys are pressed to initiate the paste.

When the PastePolicy is None, no paste operation is performed.

WorksheetZoomPercentageRestorePolicy

WorksheetZoomMagnificationPercentageRestorePolicy

Default value

WorksheetZoomMagnificationPercentageRestorePolicy.DoNotRestore

Controls whether the worksheet zoom magnification percentages are restored when a view is rebuilt, when a view is opened and built, or not at all.

DoNotRestore - (Default) When a user changes the zoom magnfication percentages for any worksheet in a view, and then rebuilds or opens a new instance of the view, the magnification of the worksheets is the same as in the view template.

RestoreOnRebuild - When a view is rebuilt, the zoom magnification of each worksheet is restored to the percentage as set by the user before rebuilding the view.

RestoreOnOpenAndRebuild - As with the RestoreOnRebuild option, when a view is rebuilt, the zoom magnification of each worksheet is restored to the percentage as set by the user before rebuilding the view. And, when a new instance of the view is opened and built, the zoom magnfication of the worksheets is set to the percentages of the worksheets in the instance of the view for which the percentages were most recently changed.

Behavior - Asynchronous Execution

Property Type Default Description

Asynchronous

bool

true

Controls whether builds and operations are performed asynchronously.

ParallelExecution

bool

false

Controls whether multiple SQL operations will be performed concurrently.

ParallelRequestLimitInEvenValues

EvenValuesTo24

EvenValuesTo24.Four

Controls the maximum number of concurrent SQL operations allowed by this view.

Cascade

Property Type Default Description

CascadeDoCascade

bool

false

Controls whether the view is cascaded when the view is built.

When the view is cascaded, the list of items represented by each cascade source is obtained. The Cartesian product of the lists is generated, and a copy of the cascade template sheet is created for each ordered combination of items. The cascade template sheet is then deleted.

CascadeSheetConfig

CascadeSheetInfoList of CascadeSheetInfo

This setting allows for configuring a single or multiple cascade sheets. When specified, the CascadeSheetConfig takes precedence over the view’s CascadeTemplateSheetNumber and CascadeSheetnamePattern settings, which have been deprecated.

CascadeSheetNameMaxLength

int

31

Controls the maximum length of a cascade sheet name.

The default setting is 31, which is the maximum number of characters allowed by Excel for a sheet name.

CascadeSheetNameMaxLength is only applicable when CascadeDoCascade is true.

Refer to CascaseDoCascade for an explanation of cascading.

CascadeSheetnamePattern
displayed as CascadeSheetNamePattern

string

Specifies the tokenized string used to build the name of each cascade sheet.

By default, the sheet name contains the text displayed for each selected item represented by the sheet delimited by a dash. For example, if the cascade sources are the Essbase selectors for Product, Market, and Scenario, and the members represented by the sheet are Cola, New York, and Actual, the default sheet name is 'Cola - New York - Actual'.

The sheet name can be customized using tokens that represent various values associated with the item.

For an item that represents an Essbase member, the following tokens are available: A token that represents the selector item value, such as [T.Product]; a token that represents the member name [T.Member.n]; a token that represents the alias [T.Alias.n], and a token that represents the display text [T.DisplayText.n], which has the same value as the token that represents the selector item. This token is supported for consistency with non-Essbase items.

For an item that represents a generic, SQL, or date selector item, the following tokens are available: A token that represents the selector item value, such as [T.Employee]; and a token that represents the display text [T.DisplayText.n].

The 'n' is a 1-based number that reflects the position of the item within the list of cascade sources. For example, if the cascade sources are the selectors for Product, Market, and Scenario, the item that represents Product is 1; Market is 2; and Scenario is 3. To specify that the sheet names contain only the Product and Scenario member names delimited by a bar, the CascadeSheetnamePattern could be set to [T.Member.1] | [T.Member.3].

CascadeSheetNamePattern is only applicable when CascaseDoCascade is True.

Refer to CascaseDoCascade for an explanation of cascading.

CascadeSources

CascadeSources

Controls whether the view is cascaded when the view is built.

When the view is cascaded, the list of items represented by each cascade source is obtained. The Cartesian product of the lists is generated, and a copy of the cascade template sheet is created for each ordered combination of items. The cascade template sheet is then deleted.

CascadeSources is only applicable when CascaseDoCascade is True.

Refer to CascaseDoCascade for an explanation of cascading.

CascadeTemplateSheetName

string

Specifies the name of the sheet in the Excel template that is used as the cascade template sheet.

CascadeTemplateSheetName is only applicable when CascadeTemplateSheetPolicy is SheetName and CascadeDoCascade is true.

Refer to CascaseDoCascade for an explanation of cascading.

CascadeTemplateSheetNumber

int

0

Specifies the 0-based index of the sheet in the Excel template that is used as the cascade template sheet.

CascadeTemplateSheetNumber is only applicable when CascadeTemplateSheetPolicy is SheetNumber and CascadeDoCascade is true.

Refer to CascaseDoCascade for an explanation of cascading.

CascadeTemplateSheetPolicy

CascadeTemplateSheetPolicy

CascadeTemplateSheetPolicy.SheetNumber

Specifies whether to use a sheet name or sheet number to identify the sheet in the Excel template that is used as the cascade template sheet.

CascadeTemplateSheetPolicy is only applicable when CascadeDoCascade is true.

Refer to CascaseDoCascade for an explanation of cascading.

SummarySheetAdd

bool

false

Controls whether a cascade summary sheet is added to the view.

If a summary sheet is added, [T.SummarySheetsList] and [T.SummarySheetsRange] will be added to the view’s tokens.

SummarySheetIncludeSheetAddress

string

Specifies an address of a boolean value to examine on each cascade sheet to determine if the sheet should be included in the summary.

See also: SummarySheetAdd.

SummarySheetIsSummarySheetAddress

string

Specifies an cell address where a value of TRUE will be put on the summary sheet.

See also: SummarySheetAdd.

SummarySheetName

string

Summary

Specifies the name to give to the Cascade Summary Sheet. The default is "Summary".

See also: SummarySheetAdd.

SummarySheetPosition

string

Last

Specifies the position for the cascade summary sheet.

The choices are "First" and "Last". The default is "Last".

See also: SummarySheetAdd.

SummarySheetSummaryRangeAddress

string

Specifies the address of the range to put the summary formulas into.

A summary formula is added for each numeric cell within the summary range. Cells that contain a formula and empty cells are ignored. Since the cascade sheets and the summary sheet are added before Essbase data is retrieved, numeric cells within the summary range must be set to a numeric value, such as 0, in the Excel template; otherwise, the cells are empty and are ignored.

See also: SummarySheetAdd.

Comments

Property Type Default Description

AllowCommentsExplorer
displayed as AllowCommentsEditor

bool

false

Controls whether to allow the Comments Editor to be used to display and edit comments.

CommentRanges

ArrayList of CommentRange

Controls the behavior or comments within each specified comment range.

CommentsEditMode
displayed as EditMode

CommentsEditMode

Dodeca.Common.CommentsEditMode.Grid

Controls whether to use a Chat or Grid user-interface to display and edit comments.

CommentsEnabled
displayed as Enabled

bool

true

Controls whether the comments are loded when the view is built.

This setting is applied to all the comment ranges, and is typically only set to False for development/debugging purposes.

Comments Editor

Property Type Default Description

CommentsExplorerAllowContext
displayed as AllowContext

bool

true

Controls whether to expose the Context pane in the Comments Editor.

Only applicable when EditMode is Grid.

CommentsExplorerAllowFieldChooser
displayed as AllowFieldChooser

bool

true

Controls whether to enable the field-chooser in the Comments Editor.

Only applicable when EditMode is Grid.

CommentsExplorerAllowLinks
displayed as AllowLinks

bool

true

Controls whether to expose the Links pane in the Comments Editor.

Only applicable when EditMode is Grid.

CommentsExplorerCaption
displayed as Caption

string

Worksheet Comments and Attachments

Specifies the caption used for the Comments Editor.

CommentsExplorerCaptionToolTip
displayed as CaptionToolTip

string

Edit worksheet comments and attachments.

Specifies the tooltip used for the caption of the Comments Editor.

CommentsExplorerDisplayMode
displayed as DisplayMode

SelectorControlUIDisplayMode

SelectorControlUIDisplayMode.DockedControl

Controls whether the Comments Editor is displayed in a docked pane or a modal dialog. - DockedControl: The Comments Editor is displayed in a dockable pane. The docked location is specified by the Comments Editor’s DockedControlLocation, whhich is located in the Comments Editor category. - LockedDockedControl: Same as a DockedControl, except that the user cannot move the Comments Editor to a different docked location. - ModalDialog: The comments editor is displayed in a modal dialog.

CommentsExplorerDisplayOnBuild
displayed as DisplayOnBuild

bool

false

Controls whether the Comments Editor is automatically displayed when the view is built.

CommentsExplorerDockedControlLocation
displayed as DockedControlLocation

DockedControlLocation

DockedControlLocation.Right

The initial docked location for dockable Comments Editor. The setting is only applicable when the CommentsExplorerDisplayMode is set to DockedControl or LockedDockedControl.

CommentsExplorerShowContext
displayed as ShowContext

bool

true

Controls whether to show the Context pane in the Comments Editor.

Only applicable when EditMode is Grid.

CommentsExplorerShowDateTime
displayed as ShowDateTime

bool

true

Controls whether to show the DateTime column in the Comments Editor.

Only applicable when EditMode is Grid.

CommentsExplorerShowLastDateTime
displayed as ShowLastDateTime

bool

true

Controls whether to show the LastDateTime column in the Comments Editor.

Only applicable when EditMode is Grid.

CommentsExplorerShowLastUserID
displayed as ShowLastUserID

bool

true

Controls whether to show the LastUserID column in the Comments Editor.

Only applicable when EditMode is Grid.

CommentsExplorerShowLinks
displayed as ShowLinks

bool

true

Controls whether to show the Links pane in the Comments Editor.

Only applicable when EditMode is Grid.

CommentsExplorerShowSubject
displayed as ShowSubject

bool

false

Controls whether to show the Subject column in the Comments Editor.

Only applicable when EditMode is Grid.

CommentsExplorerShowUserID
displayed as ShowUserID

bool

true

Controls whether to show the LastUserID column in the Comments Editor.

Only applicable when EditMode is Grid.

CommentsExplorerTabCaption
displayed as TabCaption

string

Worksheet Comments and Attachments

Specifies the caption used for the tab of the Comments Editor.

CommentsExplorerTabToolTip
displayed as TabToolTip

string

Edit worksheet comments and attachments.

Specifies the tooltip used for the tab of the Comments Editor.

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.

Culture

Property Type Default Description

CultureDisplayName
displayed as CultureName

string

English (United States)

When the CulturePolicy is set to UseSpecifiedCulture, the CultureName setting specifies the name of the culture used by the view.

CulturePolicy

CulturePolicy

CulturePolicy.UseSpecifiedCulture

Controls whether the culture associated with the view is the culture specifed by the CultureName setting or is the culture of the client Windows operating system. The culture determines the list separator used when Excel formulas are evaluated.

In Excel formulas that contain a function, the function arguments are separated by either a comma or a semicolon. The list separator that is defined by the regional settings associated with the culture is used as the function argument separator in Excel formulas.

Any Excel formulas entered into the grid control by the user or through a workbook script must use the culture’s list separator.

For an Excel template-based view , the formulas that are in the Excel template are automatically converted to use the specified culture’s list separator as the function argument separator.

The Excel formulas used in workbook scripts must use the culture’s list separator as the argument separator explicitly. For example, if a workbook script uses the Address function, the row and column numbers must be separated by a comma when the CultureName is English (United States) and a semicolon when the CultureName is French (France).

Alternatively, the @SEP function can be used to create a workbook script that is culture-neutral. For example, =Address(ROW()@SEP()COL())

Workbook script function arguments must always be separated by commas.

Excel File Encryption

Property Type Default Description

EncryptSavedExcelFile

bool

false

Controls whether the Excel file is encrypted when the user saves the view as an Excel file, exports the view to an Excel file, opens the view in Excel, or sends an email with the view attached as an Excel file. A password is required to encrypt the Excel file, and is obtained from the user.

This property does not apply when the Excel file stored as the view template is encrypted. For a view with an encrypted view template, any saved Excel file retains the password and is automatically encrypted.

Excel Template

Property Type Default Description

ExcelTemplateBinaryArtifact

BinaryArtifactIdAndVersion

The ID and version number of the binary artifact that contains the Excel template.

Exports

Property Type Default Description

Exports

ArrayList of ViewExport

View Export Definitions

Grid Properties

Property Type Default Description

AutoCalculateAllowCustomize

bool

true

Controls whether the user is allowed to customize the auto-calculate functions that are displayed in the Status bar. When AutoCalculateAllowCustomize is True, the user can open the AutoCalculate menu by clicking the right mouse button in the Status bar.

AutoCalculateEnabled

bool

true

Controls whether the auto-calculate function results are displayed in the Status bar and whether the AutoCalculate menu is displayed when the user clicks the right mouse button in the Status bar.

AutoCalculateFunctions

AutoCalculateFunctionFlags

Default value

AutoCalculateFunctionFlags.Average | AutoCalculateFunctionFlags.Count | AutoCalculateFunctionFlags.Sum

Controls which auto-calculate function results are displayed in the Status bar by default.

As in Excel, the auto-calculate feature provides a way to see the results of the following calculation functions as applied to the selected range of cells:

Average - Finds the average of the numerical values. Count - Counts the cells that contain a value. Numerical Count - Counts the cells that contain a numerical value Min - Finds the smallest numerical value. Max - Finds the largest numerical value. Sum - Adds the numerical values.

GridLinesVisible

DefaultableBooleanValue

DefaultableBooleanValue.Default

Controls whether the grid lines are visible or hidden for template and cascade sheets.

Default — The grid line visibility setting in the Excel template is used.

True — Grid lines are visible.

False — Grid lines are hidden.

HorizontalScrollBarVisible
displayed as HorizontalScrollbarVisible

DefaultableBooleanValue

DefaultableBooleanValue.Default

Controls whether the horizontal scroll bar is visible.

Default — The horizontal scroll bar option setting in the Excel template is used.

True — The horizontal scroll bar is visible.

False — The horizontal scroll bar is hidden.

OutlineVisible

DefaultableBooleanValue

DefaultableBooleanValue.Default

Controls whether the outline symbols are visible or hidden for template and cascade sheets.

Default — The outline symbols visibility setting in the Excel template is used.

True — For worksheets with an outline, the outline symbols are displayed.

False — Outline symbols are hidden.

RowAndColumnHeadersVisible

DefaultableBooleanValue

DefaultableBooleanValue.Default

Controls whether the row and column headers are visible or hidden for template and cascade sheets.

Default — The row and column headers visibility setting in the Excel template is used.

True — Row and column headers are visible.

False — Row and column headers are hidden.

TabRatio

double

The ratio of the width of the worksheet tabs to the width of the horizontal scrollbar as a number between zero and one.

For example, if set to .75, the width of the area for worksheet tabs is 75% and the width of the scroll bar area is 25% of the total width of the view window.

TabsVisible

DefaultableBooleanValue

DefaultableBooleanValue.Default

Controls whether sheet tabs are visible or hidden.

Default — The sheet tabs visibility setting in the Excel template is used.

True — Sheet tabs are visible.

False — Sheet tabs are hidden.

VerticalScrollBarVisible

DefaultableBooleanValue

DefaultableBooleanValue.Default

Controls whether the vertical scroll bar is visible. Default — The vertical scroll bar option setting in the Excel template is used.

True — The vertical scroll bar is visible.

False — The vertical scroll bar is hidden.

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.

SQLPassthroughDataSet Ranges

Property Type Default Description

DataSetRanges

DataSetRangeList of SQLPassthroughDataSetRange

Defines one or more SQLPassthroughDataSetRanges.

A SQLPassthroughDataSetRange associates a SQLPassthroughDataSet with the view. At runtime, the SQLPassthroughDataSetRange is built, which executes the query (or queries) and copies the resulting DataSet to the view. By default, a SQLPassthroughDataSet range automatically builds when the view builds, but can be configured to build on demand, such as from a workbook script.

A SQLPassthroughDataSetRange defines a DataTableRange for each query defined by the SQLPassthroughDataSet. A DataTableRange controls the behavior and presentation of the data.

Multiple SQLPassthroughDataSetRanges can be defined for the view, which allows data from multiple relational databases to be presented within the same view.

Selectors

Property Type Default Description

SelectorConfiguration

SelectorConfiguration

Configures the selectors for the view, including the order the selectors are displayed in the toolbar as well as the following settings for each selector:

Optional — Controls whether a selection is optional or required.

MultiSelect — Controls whether the user is allowed to select multiple items or only a single item. If checked, multiple items can be selected.

Caption — An optional caption that overrides the default caption defined for the selector.

Selector List — The selector list that defines 1) how the list of selectable items is generated and 2) the user-interface control used to display the items. If no selector list is specified, the default selector list defined for the selector is used.

Last Used Item Context — Controls the caching of the item(s) selected when the view is built or refreshed. Refer to the SelectorLastUsedItemContext for additional information.

LastUsedItemContextLabel — The context label used when the Last Used Item Context is set to ByLabel.

Connection Policy — For a selector that requires a connection to generate the list of selectable items, the connection policy controls whether the selector uses the view’s connection or uses a specified connection.

Connection Settings —  When the connection policy is UseSpecifiedConnection, the connection settings identify and configure the connection.

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 user-interface controls. The setting is only applicable when the SelectorControlDisplayMode is set to DockedControl.

See also: SelectorControlUIDisplayMode

SelectorLastUsedItemContext

LastUsedItemContextScope

LastUsedItemContextScope.BySelector

Controls the caching of the item(s) selected when the view is built or refreshed. 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.

BySelector — The cache is shared by all views configured with the BySelector context.

BySelectorList — The cache is shared by all views configured with the BySelectorList context.

ByView — The cache is used only by this view.

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.

StatusTextSelectionChanged

string

Selection Changed

The text displayed in the status bar to indicate a selection changed.

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

GridContextMenuID

string

The key of the PopupMenuTool to use as the context menu for the grid control. Any popup menu tool that is defined in the toolbars configuration assigned as the ViewToolbarsConfigurationID can be used as the grid context menu.

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.

RenderAsDocumentPolicy

RenderExcelViewAsDocumentPolicy

RenderExcelViewAsDocumentPolicy.RenderAsExcel

Controls whether the view is rendered as an Excel spreadsheet, which is the default, or as a PDF.

When the value is RenderAsPDF, the WindowsViewUIObjectTypeID should be set to WorkbookViewAndPdfViewer. The PDF toolbar, which contains the PDF tools, is built into the PDF viewer. If the view requires a Build button and POV selectors, set the ViewToolbarsConfigurationID to View Standard, which is included in the metadata starter kit.

SheetContextMenuID

string

The key of the PopupMenuTool displayed when the sheet tab area of the grid control is clicked with the right mouse button. Although any popup menu tool that is defined in the toolbars configuration assigned as the ViewToolbarsConfigurationID can be specified as the sheet context menu, only a popup menu tool that contains any of the tools with the following keys should be used: InsertSheetContextMenuButton, DeleteSheetContextMenuButton, and RenameSheetContextMenuButton. The SheetContextMenu is a standard popup menu tool that contains these tools and can be imported into a toolbars configuration.

ShowFormulaBar

bool

false

Controls whether a formula bar is displayed along the top of the grid. The formula bar contains a dropdown list of range names for the workbook and the active worksheet. It also contains an area that displays the constant value or formula stored in the active cell, and can be used to enter or edit values or formulas in cells.

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.

UI - WorkbookView

Property Type Default Description

AllowChartExplorer

bool

false

Controls whether the Chart Explorer can be launched from the WorkbookView grid control.

The Chart Explorer is launched using the F6 + Shift keys.

AllowRangeExplorer

bool

false

Controls whether the Range Explorer can be launched from the WorkbookView grid control.

The Range Explorer is launched using the F6 + Shift keys.

AllowShapeExplorer

bool

false

Controls whether the Shape Explorer can be launched from the WorkbookView grid control.

The Shape Explorer is launched using the F6 + Shift keys.

AllowWorkbookDesigner

bool

false

Controls whether the Workbook Designer can be launched from the WorkbookView grid control.

The Workbook Designer is launched using the F3 key.

AllowWorkbookExplorer

bool

false

Controls whether the Workbook Explorer can be launched from the WorkbookView grid control.

The Workbook Explorer is launched using the F6 key.

View Attachments

Property Type Default Description

ViewAllowAttachmentsString
displayed as Enabled

string

False

Controls whether to allow files to be attached to the view.

AllowAttachments can be specified as a formula that evaluates to True or False.

If AllowAttachments is blank, a value of False will be used.

ViewAllowDeleteAttachmentsString
displayed as AllowDelete

string

True

Controls whether to allow attachments to be deleted.

AllowDelete can be specified as a formula that evaluates to True or False.

If AllowDelete is blank, a value of True will be used.

ViewAllowedAttachmentFileTypes
displayed as AllowedFileTypes

string

A semicolon delimited string of file types. For example, ".xlsx;.txt;.docx".

Only attachments of the file types specified are allowed to be attached.

If no file types are specified, then all types are allowed, except for restricted types, which include files with any of the following extensions: exe, pif, application, gadget, msi, msp, com, scr, hta, cpl, msc, jar, bat, cmd, vb, vbs, vbe, js, jse, ws, wsf, wsc, wsh, ps1, ps1xml, ps2, ps2xml, psc1, psc2, msh, msh1, msh2, mshxml, msh1xml, msh2xml, scf, inf, reg, docm, dotm, xlsm, xltm, xlam, pptm, potm, ppam, ppsm, sldmS1

ViewMaximumAttachmentFileSize
displayed as MaximumFileSize

int

1024

The maximum allowed file size of an attachment in KB.

ViewMaximumNumberOfAttachmentsString
displayed as MaximumAttachments

string

1

The maximum number of files that can be attached to a the view.

MaximumAttachments can be specified as an integer value or a formula that evaluates to 0 or greater.

If MaximumAttachments is blank, a value of 1 will be used.

View Comments

Property Type Default Description

ViewCommentsAllowAddString
displayed as AllowAdd

string

True

Controls whether to allow comments to be added.

AllowAdd can be specified as a formula that evaluates to True or False.

ViewCommentsAllowDeleteString
displayed as AllowDelete

string

False

Controls whether to allow comments that have already been saved to be deleted.

AllowDelete can be specified as a formula that evaluates to True or False.

The following tokens are available for the current comment: [T.Comment.CreatedBy], [T.Comment.CreatedDate], [T.Comment.UpdatedBy], [T.Comment.UpdatedDate].

ViewCommentsAllowUpdateString
displayed as AllowUpdate

string

False

Controls whether to allow comments that have already been saved to be updated.

AllowUpdate can be specified as a formula that evaluates to True or False.

The following tokens are available for the current comment: [T.Comment.CreatedBy], [T.Comment.CreatedDate], [T.Comment.UpdatedBy], [T.Comment.UpdatedDate].

ViewCommentsAutoAddSelectorValuesToKeyItems
displayed as AutoAddSelectorValuesToKeyItems

bool

true

Controls whether the selector values are automatically added to the KeyItems.

ViewCommentsAutoAddViewIdToKeyItems
displayed as AutoAddViewIdToKeyItems

bool

true

Controls whether the view’s ID is automatically added to the KeyItems.

ViewCommentsContextString
displayed as ContextString

string

The context string is stored with each comment. It can be used to capture context specific information that may be important to understanding the comment.

A formula can be used to specify this string.

ViewCommentsDateFormat
displayed as DateFormat

string

g

Specifies the format used when displaying a date, such as the created or last modified date, in the Comments Editor or an Excel comment.

The DateFormat value can either be a standard or a custom format string. The default value, g, combines the short date and short time patterns, as defined by the view’s culture, separated by a space.

A standard format string consists of a single format character specifier from the following list of standard format specifiers. The patterns are influenced by the view’s culture, which defines the short and long patterns as well as the date separator and time separator.

With the following standard format specifiers, the displayed time is the local time. The examples are based on the United States (English) culture:

d: Short date pattern, 4/9/2009 D: Long date pattern, Thursday, April 09, 2009 t: Short time pattern, 7:53 PM T: Long time pattern, 7:53:03 PM f: Combination of long date and short time patterns separated by a space, Thursday, April 09, 2009 7:53 PM F: Full date/time pattern, Thursday, April 09, 2009 7:53:03 PM g: Combination of short date and short time patterns separated by a space, 4/9/2009 7:53 PM G: Combination of short date and long time patterns separated by a space, 4/9/2009 7:53:03 PM

The format specifiers are based on the .NET framework conventions. Refer to the following links for more information about standard and custom format specifiers, all of which are supported for the DateFormat property:

ViewCommentsEditMode
displayed as EditMode

CommentsEditMode

Dodeca.Common.CommentsEditMode.Chat

Controls whether to use a Chat or Grid user-interface to display and edit comments.

ViewCommentsEnabled
displayed as Enabled

bool

false

Controls whether to allow view comments.

ViewCommentsKeyItems
displayed as KeyItems

ArrayList of NamedKeyValuePair

Specifies the KeyItems the View Comments Editor will use to link comments to the view.

A miminmum of one KeyItem is required for view comments.

The view’s AutoAddViewIdToKeyItems property can be used to include the view’s ID in the KeyItems without having to actually enter it.

ViewCommentsMaxCommentCharacters
displayed as MaxCommentCharacters

int

-1

The maximum number of characters to display of each comment in the comment cell. Enter -1 for no limit.

ViewCommentsSortPolicy
displayed as SortPolicy

CommentSortPolicy

CommentSortPolicy.DateAscending

When EditMode is Grid, specifies how to sort comments when displayed in the View Comments Editor.

  • DateAscending: Sort by date, oldest to most recent.

  • DateDescending: Sort by date, most recent to oldest.

  • None: Don’t sort.

ViewCommentsSpellCheckEnabled
displayed as SpellCheckEnabled

bool

false

Controls whether to provide view comments spell-checking.

ViewCommentsThreadPolicy
displayed as ThreadPolicy

CommentThreadPolicy

CommentThreadPolicy.ThreadedMultipleRootComments

When EditMode is Grid, controls the type of threading allowed for view comments.

  • OneCommentOnly: Allow only one comment per cell.

  • ListWithoutThreads: Allow multiple comments, but no threading.

  • ThreadedOneRootComment: Allow only one comment thread.

  • ThreadedMultipleRootComments: Allow multiple comment threads.

  • Undefined: Use of this policy will prevent any comments or responses from being entered.

View Comments Editor

Property Type Default Description

ViewCommentsExplorerAllowContext
displayed as AllowContext

bool

false

Controls whether the ShowContext button is available for the user to control whether the context is displayed.

ViewCommentsExplorerAllowFieldChooser
displayed as AllowFieldChooser

bool

false

Controls whether the comments grid FieldChooser is available to the user.

ViewCommentsExplorerAllowLinks
displayed as AllowLinks

bool

false

Controls whether the ShowLinks button is available for the user to control whether linking information is displayed.

ViewCommentsExplorerCaption
displayed as Caption

string

View Comments and Attachments

The Caption of the View Comments Editor.

ViewCommentsExplorerCaptionToolTip
displayed as CaptionToolTip

string

Edit view comments and attachments.

Specifies the tooltip used for the caption of the View Comments Editor.

ViewCommentsExplorerDisplayMode
displayed as DisplayMode

SelectorControlUIDisplayMode

SelectorControlUIDisplayMode.DockedControl

Controls whether the View Comments Editor or is displayed in a docked pane or a modal dialog. - DockedControl: The editor is displayed in a dockable pane. The docked location is specified by the DockedControlLocation property. - LockedDockedControl: Same as a DockedControl, except that the user cannot move the Comments Editor or to a different docked location. - ModalDialog: The editor is displayed in a modal dialog.

ViewCommentsExplorerDisplayOnBuild
displayed as DisplayOnBuild

bool

false

Controls whether to show the Editor automatically when the view is first built.

ViewCommentsExplorerDockedControlLocation
displayed as DockedControlLocation

DockedControlLocation

DockedControlLocation.Right

Controls the initial docked location for View Comments Editor.

ViewCommentsExplorerShowContext
displayed as ShowContext

bool

false

Controls whether the view comments' Context is displayed.

ViewCommentsExplorerShowDateTime
displayed as ShowDateCreated

bool

false

Controls whether Date Created is displayed in the comments grid.

Only applicable when EditMode is Grid.

ViewCommentsExplorerShowLastDateTime
displayed as ShowDateModified

bool

true

Controls whether Date Modified is displayed in the comments grid.

Only applicable when EditMode is Grid.

ViewCommentsExplorerShowLastUserID
displayed as ShowModifiedBy

bool

true

Controls whether Modified By is displayed in the comments grid.

Only applicable when EditMode is Grid.

ViewCommentsExplorerShowLinks
displayed as ShowLinks

bool

false

Controls whether view Links info is displayed.

ViewCommentsExplorerShowSubject
displayed as ShowSubject

bool

false

Controls whether a subject is shown in the comments grid.

Only applicable when EditMode is Grid.

ViewCommentsExplorerShowUserID
displayed as ShowCreatedBy

bool

false

Controls whether Created By is displayed in the comments grid.

Only applicable when EditMode is Grid.

ViewCommentsExplorerTabCaption
displayed as TabCaption

string

View Comments and Attachments

Specifies the caption used for the tab of the View Comments Editor.

ViewCommentsExplorerTabToolTip
displayed as TabToolTip

string

Edit view comments and attachments.

Specifies the tooltip used for the tab of the View Comments Editor.

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.

Workbook Script

Property Type Default Description

WorkbookScriptID

string

Indicates the ID of the workbook script executed by the view.