The Connector specific options are listed below. serviceToken
is mandatory. All other parameters are optional.
Parameter | Type | Description |
---|---|---|
serviceToken | string | (required) Mandatory to initialize Connector |
lang | string | (optional) Sets the Connector language. Can be en , fr , de or es . If not set, defaults to the user browser's language where possible otherwise falls back to en (English). |
maxSelection | integer | (optional) Maximum files a user can select. Default is 30 (Connector has a limit of 30 files, any higher value will be reset to 30 ) |
hideOnMaxSelect | boolean | (optional) Hide Conenctor when maxSelection is reached. Default is false. |
dialogTitle | object | (optional) Customize dialog title. Default is FileSpin Connector . See below for object structure. |
Connector dialog title in multiple languages
Supply custom dialog title in multiple languages like below:-
{
"en": "Dialog title english",
"fr": "Dialog title french"
}
Title will be set based on user browser's language or based on lang
parameter. Default fallback is english title FileSpin Connector
.