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

IAssetManagerConfig Module

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

A structure defining tabs of the Asset Manager.

example
{
  "widgets": {
    "AssetManager": {
      "defaultTabName": "External urls",
      "tabs": [
        {
          "name": "My files",
          "assetSourceInstance": "My files",
          "iconClassName": "cc-icon-uploadable"
        },
        {
          "name": "External urls",
          "assetSourceInstance": "External urls",
          "iconClassName": "cc-icon-add-image"
        }
      ]
    }
  }
}

Interfaces

Name Description
ITabConfig

A structure defining tabs of the Asset Manager.

Properties

Optional defaultTabName

defaultTabName: string

The default tab opened in the Asset Manager; it should be one of ITabConfig.name.

tabs

tabs: ITabConfig []

The array of tabs available in the Asset Manager. The IAssetSources interface allows you to define the sources of these tabs.