ItemSharingDialogConfig interface

An interface representing the input configuration to open link sharing dialog or direct sharing dialog

Properties

customizedTitle

Sharing dialog title that can be customized by each API call

defaultShareOptions

Share options that are checked by default

itemObjectId

The object id of the item

itemType

The type of the item

linkSharing

If current action is to open link sharing dialog or direct sharing dialog

preSelectedUserPrincipals

The users will be shown in email list of sharing dialog as pre-selected users. The users can be un-selected in following actions after opening sharing dialog

Property Details

customizedTitle

Sharing dialog title that can be customized by each API call

customizedTitle?: string

Property Value

string

defaultShareOptions

Share options that are checked by default

defaultShareOptions?: string[]

Property Value

string[]

itemObjectId

The object id of the item

itemObjectId: string

Property Value

string

itemType

The type of the item

itemType: string

Property Value

string

linkSharing

If current action is to open link sharing dialog or direct sharing dialog

linkSharing?: boolean

Property Value

boolean

preSelectedUserPrincipals

The users will be shown in email list of sharing dialog as pre-selected users. The users can be un-selected in following actions after opening sharing dialog

preSelectedUserPrincipals?: string[]

Property Value

string[]