Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

After installation of the NuGet package, it's time to setup the connection to you Digizuite DAM instance. You have 2 options to add the settings. Eather through code in the startup class or in a json settings file.

...

Create a new file with the name digizuitesettings.json and place it along with the appsettings.json. Add the minimun settings like below. The paramaters will be delivered by Digizuite.

Code Block
{
  "DigizuiteDamSettings": {
    "Connection": {
      "BaseUrl": "https://[DAM url]",
      "SystemUsername": "Optimizely Editor",
      "SystemPassword": "P74nR658TEhh"
    },
    "MediaManager": {
      "Url": "https://[MediaManager url]"
    },
    "MainSearchFolderId": 126
  }
}

...

Name

Type

Required

Default

Description

SiteUrl

string

Yes


This is the url that Digizuite use to send the notification to. We will append the routing to the controller to the url. [siteUrl]/episerver/digizuite/DigizuiteWebhook/Update

Guid

string

Yes


This is the unique identifier for the endpoint in Digizuite DAM. Just generate a new guid. 

Subscriptions

List<int>

No

new List<int> { 1 }

A list of changeTypes. Possible values are: AssetChanged = 1, MetafieldChanged = 2, TreeValueChanged = 4, ComboValueChanged = 8

DeleteBlob

bool

No

False

By default this is false. Enable this if each instance of a loadbalanced enviroment has its own local blob storage.

Child element: CacheElement

...