Settings for browser downloads.
Path:

downloads

Hierarchy

  • DownloadsConfig

Properties

downloadFileActions: DownloadFileActionConfig[]

Default:

[
  {
    "extension": "pdf",
    "customApplicationPath": "",
    "actionType": "openInSiteKiosk",
    "autoExecute": true
  },
  {
    "extension": "txt",
    "customApplicationPath": "",
    "actionType": "openInSiteKiosk",
    "autoExecute": true
  },
  {
    "extension": "png",
    "customApplicationPath": "",
    "actionType": "openInSiteKiosk",
    "autoExecute": true
  },
  {
    "extension": "gif",
    "customApplicationPath": "",
    "actionType": "openInSiteKiosk",
    "autoExecute": true
  },
  {
    "extension": "jpg",
    "customApplicationPath": "",
    "actionType": "openInSiteKiosk",
    "autoExecute": true
  },
  {
    "extension": "jpeg",
    "customApplicationPath": "",
    "actionType": "openInSiteKiosk",
    "autoExecute": true
  },
  {
    "extension": "exe",
    "customApplicationPath": "",
    "actionType": "downloadOnly",
    "autoExecute": false
  },
  {
    "extension": "zip",
    "customApplicationPath": "",
    "actionType": "downloadOnly",
    "autoExecute": false
  },
  {
    "extension": "7z",
    "customApplicationPath": "",
    "actionType": "downloadOnly",
    "autoExecute": false
  }
]


List of actions for specific downloaded file types.

downloads.downloadFileActions

downloadFolder: string

Default:

"$(CSIDL:CommonDocuments)\SiteKiosk"


Target folder for all downloads.

downloads.downloadFolder

enabled: boolean

Default: false

True when downloads are permitted.

downloads.enabled

maxSizeInBytes: number

Default: 10485760

The max size in bytes a download can have (default is 10MB).

downloads.maxSizeInBytes

permittedUrls: URLFilter[]

Default: []

List of URLs which are permitted to contain downloads.

downloads.permittedUrls

restrictToPermittedUrls: boolean

Default: false

True when only permitted urls are allowed to start downloads.

downloads.restrictToPermittedUrls

useFileManagerInsteadDownloadManager?: boolean

Default: false

True when the filemanager dialog should replace the download manager dialog.

downloads.useFileManagerInsteadDownloadManager

useMaxSizeInBytes: boolean

Default: true

True when the maximum allowed download size should be used.

downloads.useMaxSizeInBytes

Generated using TypeDoc