UI settings

Most features require some configuration in the form of settings that need to be specified for each applicable server on which the feature is expected to work. When using or combining solutions using the default settings with their default server keys, no changes are required.

If you are using different server keys or want to alter settings, you can do so via the solution’s activate function by overriding the settings parameter.

Key Type Description Example
drilldownOperations DrillDownOperationSetting[] Describes the available operations for the Drilldown menu-item plugin.
deskModelSwitchOptions string[] The list of models available for the Desk Model Switch menu item ["IMA", "SA"]
whatIfDataSwitch WhatIfDataSwitchSetting[] Describes the available book switch what-if operations for the What-If Data Switch menu item

DrillDownOperationSetting

Key Type Description Example
name string The name to display in the context menu
type "" | “QIS” | “notQIS” | “riskClassTable” | “notRiskClassTable” Type of drill-down
isRiskClass boolean | null Whether the risk class should be part of the selected cell. null indicates that this won’t be checked.
checkDoubleSums boolean Whether to check if the selected measure is of the double sums type
measureMustContainOneOf string[] List of tokens that a measure can contain in order for the drilldown action to be available ["Delta Risk Position", "Vega Risk Position"]
measureMustNotContainAnyOf string[] | undefined Optional list of tokens that a measure cannot contain in order for the drilldown action to be available. ["Double Sums", "Correlations"]

WhatIfDataSwitchSetting

Key Type Description Example
whatIfName string The name to display in the context menu
keyField {dimensionName: string; hierarchyName: string; levelName: string;} The dimension, hierarchy and level used to define the field that the staticDataField can be changed for.
staticDataField {dimensionName: string; hierarchyName: string; levelName: string;} The dimension, hierarchy and level used to define the field that can be changed for a given keyField.