After installation of the NuGet package, it's time to setup the connection to you Digizuite DAM instance. Add the DAMIntegrationConfiguration to your startup class. The configuration should be added after the AddCms due to TinyMCE initialization.
...
Name | Type | Required | Default | Description |
---|---|---|---|---|
DatabaseName | string | Yes | The databaseName is the name of the database that you are running your Optimizely application in. We have experienced in some applications that it is not enougt to only add the name of the database, but it should have the hole connection string. You can get the connection string like this: _configuration.GetConnectionString("EPiServerDB") | |
Connection | DigizuiteConfiguration | Yes | This object contains the connection parameters to the Digizuite DAM instance. | |
RoleMappings | List<RoleMappingElement> | No | ||
FallbackIconMappings | List<IconMappingElement> | No | ||
VideoPlaybackType | VideoPlaybackType | No | VideoPlaybackType.Streaming | The connector comes with 3 different option for video playback. You can read about the it at DFE DFO 3.0.0 - 16 Video playback |
Child element: DigizuiteConfiguration
...
Type | Name | Required | Default | Description |
---|---|---|---|---|
string | DigizuiteRole | Yes | n/a | The name of the role in Digizuite to map. |
List<string> | EpiserverRoles | Yes | n/a | A list of Episerver roles that be given similar permissions to the Digizuite Role. |
...
Type | Name | Required | Default | Description |
---|---|---|---|---|
string | DocumentType | Yes | n/a | The icon for the document type - for instance "video" for a video icon. |
List<string> | Extensions | Yes | n/a | A list of file extensions to map for the above document type. |
...