Edit

Share via


DatahubSelectorDialogConfig interface

An interface representing the datahub selector dialog config

Extends

Properties

contextInfo

The context object - where the user is - what workspace is in use, is it my workspace, etc.

datahubButtonLearnMoreLink

Link below primary action button

datahubButtonUserChoicesByType

A dictionary where the key is DatahubItemType and the value is collection of DatahubButton[].

defaultButtonConfig

Default button configuration that applies to all item types, shown even before selecting any item.

Inherited Properties

activeSelectedItemObjectIds

The object Id's of the active selected items.

activeTypes

The selected item types to show in the table, subset of supportedTypes

allowSort

whether to allow sort option – default is 'true'.

configurableStrings

configurable texts (localization key)

connectionSupportedTypes
controlPlaneSupportedTypesPermissions

The minimal item permission to show per item type.

cssStyles

Configurable css colors. The key is a datahub style property (SupportedDatahubStyleProperties) or general PowerBI style property (ControlTokens). SupportedDatahubStyleProperties will be applied in case both the datahub property and the control token for that element are configured.

customContextMenuConfig

Context menu configuration for items

datahubTableHost

Where the Datahub is hosted

dialogAdditionalInfo

Additional inforamation content. Will appear only if learnMorelink is defined.

dialogDescription

The title of the dialog

dialogDescriptionLocalized

The title of the dialog (localization key)

dialogTitle

The title of the dialog

dialogTitleLocalized

The localized title of the dialog (localization key)

disableAddDataEmptyStateButton

Disabling the add data button on empty state screen.

disableHorizontalScroll

Whether to disable horizontal scroll – default is 'false'.

disableHoverCard
displayColumns

The columns we allow in the table - optional with default value.

enableParentChild

Whether Parent-child relationship is enabled

enableResizeColumnOptions

Whether to enable resize column options. default is 'false'. Users who struggle with performing dragging movements can easily operate an interface with a pointer interface. This feature does not yet support theming and dark mode.

filterDatahubByTypes

Will open the datahub compact view filter by the values in the array

filters

Filter by list of workspaces/domains – default is no filter

generalConnectionsConfig

general connections config, used to set filters for all the supported connection types.

globalConfigForAllSupportedTypes

Global config for all supported types

globalControlPlanePermissionsMask

The minimal item permission to show.

globalPermissionsMask

The minimal item permission to show.

hideFullScreen

Whether to show the full screen button - default is false

highlightRowOnSelection

whether to color the row on selection.

hostDetails

Some details on the datahub consumer host.

hoverCardConfiguration

Hover card configuration

injectedDatahubItemUIs

An array of datahub items to be added to the compact view table.

isCompactViewMode

Whether is compact view mode

isDomainsSelectionEnabled

Whether to show domain selection box – default is 'true'.

isFabricIcons

Whether to show fabric icons

isTagFilterEnabled

Whether to show tag filter group in filter - default is 'true'.

itemIconTooltipPosition

optional - tooltip position for the item icon in the table list. Default is 'before'.

itemSelectionDisabled

prevent user from selecting top-level items when this flag is true - by default the value is 'false'

learnMorelink

The default behavior is that learn more link is not visible, until the host customize it.

multiSelectionEnabled

Multi-selection of items is possible when this flag is enabled - by default the value is 'false'.

parentSelectionDisabled

selection of parent item is not possible when this flag is true - by default the value is 'false'.

searchQueryInput

Search in the compact view results – default is empty string.

searchWithoutPivots

Whether to ignore current filters on search – default is 'false'.

selectedDatahubItemObjectIds

The object Id's of the selected datahub items

selectedPivot

Filter by pivot – default is All

shouldBoldSearchQuery

Whether to mark with bold style search query on the results – default is 'true'. If both this and shouldHighlightSearchQuery are true, the search result will be bold

shouldFitItemsToHeight

Whether to show items in the CV with no scrolling, only what fits to the CV window - default is 'false'.

shouldHideEmptySearchResult

Whether to hide empty search result – default is 'false'.

shouldHideFilter

Whether to hide the filter or not – default is 'false'.

shouldHideHeader

Whether to hide the pivots or not – default is 'false'.

shouldHideSearchBox

Whether to hide the search box or not – default is 'false'.

shouldHighlightSearchQuery

Whether to mark with background search query on the results – default is 'false'. If both this and shouldBoldSearchQuery are true, the search result will be bold

shouldIncludeFuncByItemType

The function gets the 'item' as input and defines whether to display the item in the table or not.

showRefreshIconContainer

whether the refresh icon should be shown.

subItemSelectionEnabled

only allow user to select a sub-item when this flag is true - by default the value is 'false'. Sub-items will be returned with their parent item.

supportedConnections

The connection types to show in the table with their filters. If the key is Connection, it is generally for all connection types.

supportedPivots

Which tabs to show on the header - optional with a default value.

supportedTypes

The item types to show in the table

supportedTypesConfig

Config for supported type

supportedTypesPermissions

The minimal item permission to show per item.

supportHorizontalScroll
supportNameDirectLink

whether the action for navigating to the item should be shown.

telemetryAdditionalData
useLocalStorageForWorkspaceMode

Whether to persist open/closed mode of workspace navigation pane from user's local storage – default is 'false'.

workspaceNavigationEnabled

Whether to show workspace navigation pane – default is 'true'.

Property Details

contextInfo

The context object - where the user is - what workspace is in use, is it my workspace, etc.

contextInfo?: any

Property Value

any

Link below primary action button

datahubButtonLearnMoreLink?: { text: string, url: string }

Property Value

{ text: string, url: string }

datahubButtonUserChoicesByType

A dictionary where the key is DatahubItemType and the value is collection of DatahubButton[].

datahubButtonUserChoicesByType?: Partial<Record<string, DatahubButton[]>>

Property Value

Partial<Record<string, DatahubButton[]>>

defaultButtonConfig

Default button configuration that applies to all item types, shown even before selecting any item.

defaultButtonConfig?: DatahubButton[]

Property Value

Inherited Property Details

activeSelectedItemObjectIds

The object Id's of the active selected items.

activeSelectedItemObjectIds?: string[]

Property Value

string[]

Inherited From DatahubCompactViewConfig.activeSelectedItemObjectIds

activeTypes

The selected item types to show in the table, subset of supportedTypes

activeTypes?: string[]

Property Value

string[]

Inherited From DatahubCompactViewConfig.activeTypes

allowSort

whether to allow sort option – default is 'true'.

allowSort?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.allowSort

configurableStrings

configurable texts (localization key)

configurableStrings?: DatahubConfigurableStrings

Property Value

Inherited From DatahubCompactViewConfig.configurableStrings

connectionSupportedTypes

Warning

This API is now deprecated.

this field is not in use. please use instead: supportedConnections

connectionSupportedTypes?: string[]

Property Value

string[]

Inherited From DatahubCompactViewConfig.connectionSupportedTypes

controlPlaneSupportedTypesPermissions

The minimal item permission to show per item type.

controlPlaneSupportedTypesPermissions?: {[key: string]: Permissions}

Property Value

{[key: string]: Permissions}

Inherited From DatahubCompactViewConfig.controlPlaneSupportedTypesPermissions

cssStyles

Configurable css colors. The key is a datahub style property (SupportedDatahubStyleProperties) or general PowerBI style property (ControlTokens). SupportedDatahubStyleProperties will be applied in case both the datahub property and the control token for that element are configured.

cssStyles?: Partial<Record<DatahubStyleProperties, string>>

Property Value

Partial<Record<DatahubStyleProperties, string>>

Inherited From DatahubCompactViewConfig.cssStyles

customContextMenuConfig

Context menu configuration for items

customContextMenuConfig?: ContextMenuActionsDefinitions

Property Value

Inherited From DatahubCompactViewConfig.customContextMenuConfig

datahubTableHost

Where the Datahub is hosted

datahubTableHost?: string

Property Value

string

Inherited From DatahubCompactViewConfig.datahubTableHost

dialogAdditionalInfo

Additional inforamation content. Will appear only if learnMorelink is defined.

dialogAdditionalInfo?: string

Property Value

string

Inherited From DatahubHeaderDialogConfig.dialogAdditionalInfo

dialogDescription

The title of the dialog

dialogDescription?: string

Property Value

string

Inherited From DatahubHeaderDialogConfig.dialogDescription

dialogDescriptionLocalized

The title of the dialog (localization key)

dialogDescriptionLocalized?: string

Property Value

string

Inherited From DatahubHeaderDialogConfig.dialogDescriptionLocalized

dialogTitle

The title of the dialog

dialogTitle?: string

Property Value

string

Inherited From DatahubHeaderDialogConfig.dialogTitle

dialogTitleLocalized

The localized title of the dialog (localization key)

dialogTitleLocalized?: string

Property Value

string

Inherited From DatahubHeaderDialogConfig.dialogTitleLocalized

disableAddDataEmptyStateButton

Disabling the add data button on empty state screen.

disableAddDataEmptyStateButton?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.disableAddDataEmptyStateButton

disableHorizontalScroll

Whether to disable horizontal scroll – default is 'false'.

disableHorizontalScroll?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.disableHorizontalScroll

disableHoverCard

Warning

This API is now deprecated.

this field is not in use.

disableHoverCard?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.disableHoverCard

displayColumns

The columns we allow in the table - optional with default value.

displayColumns?: DisplayColumn[]

Property Value

Inherited From DatahubCompactViewConfig.displayColumns

enableParentChild

Whether Parent-child relationship is enabled

enableParentChild?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.enableParentChild

enableResizeColumnOptions

Whether to enable resize column options. default is 'false'. Users who struggle with performing dragging movements can easily operate an interface with a pointer interface. This feature does not yet support theming and dark mode.

enableResizeColumnOptions?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.enableResizeColumnOptions

filterDatahubByTypes

Will open the datahub compact view filter by the values in the array

filterDatahubByTypes?: string[]

Property Value

string[]

Inherited From DatahubCompactViewConfig.filterDatahubByTypes

filters

Filter by list of workspaces/domains – default is no filter

filters?: DatahubFilter[]

Property Value

Inherited From DatahubCompactViewConfig.filters

generalConnectionsConfig

general connections config, used to set filters for all the supported connection types.

generalConnectionsConfig?: GeneralConnectionsConfig

Property Value

Inherited From DatahubCompactViewConfig.generalConnectionsConfig

globalConfigForAllSupportedTypes

Global config for all supported types

globalConfigForAllSupportedTypes?: TypeConfig

Property Value

Inherited From DatahubCompactViewConfig.globalConfigForAllSupportedTypes

globalControlPlanePermissionsMask

The minimal item permission to show.

globalControlPlanePermissionsMask?: Permissions

Property Value

Inherited From DatahubCompactViewConfig.globalControlPlanePermissionsMask

globalPermissionsMask

The minimal item permission to show.

globalPermissionsMask?: number

Property Value

number

Inherited From DatahubCompactViewConfig.globalPermissionsMask

hideFullScreen

Whether to show the full screen button - default is false

hideFullScreen?: boolean

Property Value

boolean

Inherited From DatahubHeaderDialogConfig.hideFullScreen

highlightRowOnSelection

whether to color the row on selection.

highlightRowOnSelection?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.highlightRowOnSelection

hostDetails

Some details on the datahub consumer host.

hostDetails?: HostDetails

Property Value

Inherited From DatahubCompactViewConfig.hostDetails

hoverCardConfiguration

Hover card configuration

hoverCardConfiguration?: HoverCardConfiguration

Property Value

HoverCardConfiguration

Inherited From DatahubCompactViewConfig.hoverCardConfiguration

injectedDatahubItemUIs

An array of datahub items to be added to the compact view table.

injectedDatahubItemUIs?: InjectedDatahubItemUI[]

Property Value

Inherited From DatahubCompactViewConfig.injectedDatahubItemUIs

isCompactViewMode

Whether is compact view mode

isCompactViewMode?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.isCompactViewMode

isDomainsSelectionEnabled

Whether to show domain selection box – default is 'true'.

isDomainsSelectionEnabled?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.isDomainsSelectionEnabled

isFabricIcons

Whether to show fabric icons

isFabricIcons?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.isFabricIcons

isTagFilterEnabled

Whether to show tag filter group in filter - default is 'true'.

isTagFilterEnabled?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.isTagFilterEnabled

itemIconTooltipPosition

optional - tooltip position for the item icon in the table list. Default is 'before'.

itemIconTooltipPosition?: "above" | "below" | "before" | "after"

Property Value

"above" | "below" | "before" | "after"

Inherited From DatahubCompactViewConfig.itemIconTooltipPosition

itemSelectionDisabled

prevent user from selecting top-level items when this flag is true - by default the value is 'false'

itemSelectionDisabled?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.itemSelectionDisabled

The default behavior is that learn more link is not visible, until the host customize it.

learnMorelink?: { linkText: string, linkUrl: string }

Property Value

{ linkText: string, linkUrl: string }

Inherited From DatahubHeaderDialogConfig.learnMorelink

multiSelectionEnabled

Multi-selection of items is possible when this flag is enabled - by default the value is 'false'.

multiSelectionEnabled?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.multiSelectionEnabled

parentSelectionDisabled

selection of parent item is not possible when this flag is true - by default the value is 'false'.

parentSelectionDisabled?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.parentSelectionDisabled

searchQueryInput

Search in the compact view results – default is empty string.

searchQueryInput?: string

Property Value

string

Inherited From DatahubCompactViewConfig.searchQueryInput

searchWithoutPivots

Whether to ignore current filters on search – default is 'false'.

searchWithoutPivots?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.searchWithoutPivots

selectedDatahubItemObjectIds

The object Id's of the selected datahub items

selectedDatahubItemObjectIds?: string[]

Property Value

string[]

Inherited From DatahubCompactViewConfig.selectedDatahubItemObjectIds

selectedPivot

Filter by pivot – default is All

selectedPivot?: DatahubListPivot

Property Value

Inherited From DatahubCompactViewConfig.selectedPivot

shouldBoldSearchQuery

Whether to mark with bold style search query on the results – default is 'true'. If both this and shouldHighlightSearchQuery are true, the search result will be bold

shouldBoldSearchQuery?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.shouldBoldSearchQuery

shouldFitItemsToHeight

Whether to show items in the CV with no scrolling, only what fits to the CV window - default is 'false'.

shouldFitItemsToHeight?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.shouldFitItemsToHeight

shouldHideEmptySearchResult

Whether to hide empty search result – default is 'false'.

shouldHideEmptySearchResult?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.shouldHideEmptySearchResult

shouldHideFilter

Whether to hide the filter or not – default is 'false'.

shouldHideFilter?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.shouldHideFilter

shouldHideHeader

Whether to hide the pivots or not – default is 'false'.

shouldHideHeader?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.shouldHideHeader

shouldHideSearchBox

Whether to hide the search box or not – default is 'false'.

shouldHideSearchBox?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.shouldHideSearchBox

shouldHighlightSearchQuery

Whether to mark with background search query on the results – default is 'false'. If both this and shouldBoldSearchQuery are true, the search result will be bold

shouldHighlightSearchQuery?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.shouldHighlightSearchQuery

shouldIncludeFuncByItemType

The function gets the 'item' as input and defines whether to display the item in the table or not.

shouldIncludeFuncByItemType?: {}

Property Value

{}

Inherited From DatahubCompactViewConfig.shouldIncludeFuncByItemType

showRefreshIconContainer

whether the refresh icon should be shown.

showRefreshIconContainer?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.showRefreshIconContainer

subItemSelectionEnabled

only allow user to select a sub-item when this flag is true - by default the value is 'false'. Sub-items will be returned with their parent item.

subItemSelectionEnabled?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.subItemSelectionEnabled

supportedConnections

The connection types to show in the table with their filters. If the key is Connection, it is generally for all connection types.

supportedConnections?: {[key: string]: SupportedConnection}

Property Value

{[key: string]: SupportedConnection}

Inherited From DatahubCompactViewConfig.supportedConnections

supportedPivots

Which tabs to show on the header - optional with a default value.

supportedPivots?: DatahubListPivot[]

Property Value

Inherited From DatahubCompactViewConfig.supportedPivots

supportedTypes

The item types to show in the table

supportedTypes?: string[]

Property Value

string[]

Inherited From DatahubCompactViewConfig.supportedTypes

supportedTypesConfig

Config for supported type

supportedTypesConfig?: {[key: string]: TypeConfig}

Property Value

{[key: string]: TypeConfig}

Inherited From DatahubCompactViewConfig.supportedTypesConfig

supportedTypesPermissions

The minimal item permission to show per item.

supportedTypesPermissions?: {[key: string]: number}

Property Value

{[key: string]: number}

Inherited From DatahubCompactViewConfig.supportedTypesPermissions

supportHorizontalScroll

Warning

This API is now deprecated.

this field is not in use. please use instead: disableHorizontalScroll

supportHorizontalScroll?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.supportHorizontalScroll

whether the action for navigating to the item should be shown.

supportNameDirectLink?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.supportNameDirectLink

telemetryAdditionalData

Warning

This API is now deprecated.

Please do not use, this interface will not be maintained.

telemetryAdditionalData?: TelemetryAdditionalData

Property Value

Inherited From DatahubCompactViewConfig.telemetryAdditionalData

useLocalStorageForWorkspaceMode

Whether to persist open/closed mode of workspace navigation pane from user's local storage – default is 'false'.

useLocalStorageForWorkspaceMode?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.useLocalStorageForWorkspaceMode

workspaceNavigationEnabled

Whether to show workspace navigation pane – default is 'true'.

workspaceNavigationEnabled?: boolean

Property Value

boolean

Inherited From DatahubCompactViewConfig.workspaceNavigationEnabled