OpenSubfolderPickerDialogConfig interface

An interface representing the input configuration of API: openSubfolderPickerDialog

Properties

allowMultiSelection

If multi-selection supported

allowSelectItemTypes

Types of items that are allowed to be selected. If undefined or empty array, then nothing can be selected.

allowSelectWorkspace

If user could browse across workspaces

confirmButtonText

Label of confirm button

initialSubfolderId

The initial subfolder after opening subfolder picker

messageBarModel

Model of message bar

preSelectedItems

Pre-selected items, will be display as selected. For each item, provide at least one of id and objectId otherwise it will be ignored.

semanticInputLabelText

Label before input box

semanticInputPlaceholder

Placeholder of input box

showNewButton

If creating subfolder is supported in subfolder picker

title

Title of subfolder picker

visibleItemTypes

Types of items to be show in the picker. Subfolder is always visible.

Property Details

allowMultiSelection

If multi-selection supported

allowMultiSelection?: boolean

Property Value

boolean

allowSelectItemTypes

Types of items that are allowed to be selected. If undefined or empty array, then nothing can be selected.

allowSelectItemTypes?: string[]

Property Value

string[]

allowSelectWorkspace

If user could browse across workspaces

allowSelectWorkspace?: boolean

Property Value

boolean

confirmButtonText

Label of confirm button

confirmButtonText: string

Property Value

string

initialSubfolderId

The initial subfolder after opening subfolder picker

initialSubfolderId?: number

Property Value

number

messageBarModel

Model of message bar

messageBarModel?: MessageBarModel

Property Value

preSelectedItems

Pre-selected items, will be display as selected. For each item, provide at least one of id and objectId otherwise it will be ignored.

preSelectedItems?: PreSelectedItem[]

Property Value

semanticInputLabelText

Label before input box

semanticInputLabelText?: string

Property Value

string

semanticInputPlaceholder

Placeholder of input box

semanticInputPlaceholder?: string

Property Value

string

showNewButton

If creating subfolder is supported in subfolder picker

showNewButton?: boolean

Property Value

boolean

title

Title of subfolder picker

title: string

Property Value

string

visibleItemTypes

Types of items to be show in the picker. Subfolder is always visible.

visibleItemTypes?: string[]

Property Value

string[]