If you are upgrading from a previous version of DFS, then you can skip this section and continue with 3.2.2 Reverting silo item.
DFS synchronizes data from Digizuite™ DAM Center (DC) into Sitecore. Data is stored in a silo (item bucket). Before we can begin synchronizing, we have to fill out some config parameters telling Sitecore which DAM to fetch data from. There are 4 parameters in this file \App_Config\Include\damforsitecore\DFS.Settings.config.
<setting name="DFS.AssetSiloSettings.Default.BaseAddress" value="{URL TO THE DAM SERVER}" />
<setting name="DFS.AssetSiloSettings.Default.Username" value="{USERNAME FOR THE USER TO BE USED WHEN SYNCHRONIZING BETWEEN SITECORE AND DAM}" />
<setting name="DFS.AssetSiloSettings.Default.Password" value="{PASSWORD FOR THE USER TO BE USED WHEN SYNCHRONIZING BETWEEN SITECORE AND DAM}" />
<setting name="DFS.AssetSiloSettings.Default.ConfigVersionId" value="{THE CONFIGVERIONID USED IN DAM}" />
We do not recommend that you change these 4 parameters in this file. Instead create a new config file where you patch the parameters (This is best practice). Here is an example of said patch config file. It is important that the file is loaded after DFS.Settings.config, otherwise the patch file won't have any effect. If you name the config file z.DFS.Settings.config and place it in the folder \App_Config\Include\damforsitecore\ you should be safe.
Edit the values in the file to match your site (use the below table):
Variable
Description
Default
Example
BaseAddress
URL to your DC. It MUST end with a forward slash
https://[yourdam]/
https://dam.digizuite.dk/
Username
Username for the user to be used when synchronizing between Sitecore and your DAM
DAM for Sitecore
DAM for Sitecore
Password
Password for the user to be used when synchronizing between Sitecore and your DAM
sitecore
sitecore
ConfigVersionId
The ConfigVersionId of your DFS ConfigManager in your DC. It can be found here. It MUST have a "!" in front of it.
![yourid]
!/5/
Once the config file is in place, reload the site and continue to the next topic "Creating a silo in Sitecore".
3.2.1 Creating a silo in Sitecore
You now need to create a new silo in Sitecore. This has to be done to synchronize the content of your DAM and your Sitecore.
Do the following steps:
Be logged as a user who is admin or member of the role sitecore\Digizuite DAM for Sitecore Administrators
Go to the Content Editor
Expand Sitecore Media Library
Right click on Digizuite and click Insert → Asset silo
Add a name to the silo. Normally, you'd name the silo something that relates to your DC. By default, this will be the title of your silo. Everyone will be able to see this title.
Important note about the silo item
It is very important that the silo item is serialized to disk and controlled by your preferred item manager like Unicore or TDS. Every team member working on the solution should have the same starting point. For more info read this DFS 10.4.0 - 8 Calculated itemIds
3.2.2 Reverting silo item
If you are upgrading from a previous version, then you should have the Silo serialized to disk. Now it's time to revert the item back into your database with you preferred way of handling items like Unicore, TDS, or from the developer tab in Sitecore.