You’re viewing outdated documentation. View the latest Customer’s Canvas On-Premises documentation.

IPrivateSourceConfig Interface

Applies to: Customer's Canvas On-Premises; Design Editor 4.4.25, 4.x (may differ) · Archived documentation

A structure defining properties of the private user gallery.

example

clientConfig.json

"assetSources": {
  "My files": {
    "type": "PrivateSource",
    "allowedExtensions": [ "jpg", "jpeg", "png", "bmp" ],
    "groupingByDateEnabled": true,
    "actionMode": {
      "pdf": "Shape",
      "svg": "Shape"
    }
  }
}

Modules

Name Description
IGallerySourceConfig

A structure defining properties of asset sources.

Properties

Optional actionMode

actionMode: IActionModeParsed

allowedExtensions

allowedExtensions: string []

Optional groupingByDateEnabled

groupingByDateEnabled: boolean

If true, arranges images by date. The list of dates when the user uploaded the images appears in the Categories. The default value is false.

type

type: "PublicSource" | "PrivateSource"