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.
...
Code Block |
---|
{
"DigizuiteDamSettings": {
"Connection": {
"BaseUrl": "https://[DAM url]",
"SystemUsername": "DFO System",
"SystemPassword": "P74nR658TEhh"
},
"MediaManager": {
"Url": "https://[MediaManager url]"
},
"MainSearchFolderId": 126,
"PollyResilienceElement": {
"ExceptionsAllowedBeforeBreaking": 10,
"DurationOfBreak": 20,
"TimeoutRequest": 20
}
}
} |
Add the DAMIntegrationConfiguration to your startup class. The configuration should be added after the AddCms due to TinyMCE initialization.
...
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
...