Versions Compared

Key

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

In DAM For Sitecore 9.3 we have shifted technology from pulling updates to pushing updates. In the previous versions of the module we had a hook which ran every minute. The purpose of this background process was to listen for changes in the DAM and then subsequently make sure that the changes was synchronized into the silo. This feature has been deprecated.
Now we have changed this to an event driven architecture. The Digizuite DAM will send out notifications to Sitecore whenever something has changed to an asset or some metadata and Sitecore will then automatically update the content.

In order for Digizuite DAM to notify your Sitecore instance, you have to register what we call an integration endpoint. 

Info
titleImportant

It is important that the Digizuite DAM server can access you Sitecore instance through HTTP otherwise it wont be able to send out notifications.

The synchronized silo, will automatically be kept up to date by the system. This page attempts to give some insights to this:

In the ../App_Config/Include/damforsitecore/DFS.Connect.config configuration file, there is a "hook", which is a timer that by default runs every minute. The purpose of this background process is to listen for changes in the DAM and then subsequently make sure that the changes are synchronized into the silo. You may change the interval between when the timer looks for changes in the DAM.

You may also stop the timer completely if you wish. This is done by commenting out the configuration entirely (practically removing it). If you choose to disable the timer, then you have to manually synchronize the DFS Silo every time a change is done in the DC to have the silo up to date.

This is how the timer (hook) looks in the configuration file The Sitecore instance asks Digizuite for changes every 1 minute. To enable this feature do the following:

  1. Open Website\App_Config\Include\damforsitecore\DFS.Connect.config and locate the <hooks> section. You should see something like this:

    Code Block
    languagexml
linenumberstrue<hooks> <hook
  1. <hooks>
          <!--hook type="DFS.Connect.Hooks.DetectDamChangesLoader, DFS.Connect">
    
  1.         <param name="agent" type="DFS.Connect.DetectDamChangesAgent, DFS.Connect">
  1. 
              <param name="repository" ref="DFS.Connect/assetSiloRepository" />
  1. 
            </param>
  1. 
            <param name="interval">00:01:00</param>
          </hook-->
    
          <hook type="DFS.Connect.Hooks.ResolvePushEventsLoader, DFS.Connect">
            <param name="agent" type="DFS.Client.Services.PushNotifications.ResolvePushEventsAgent, DFS.Client.Services"></param>
            <param name="interval">00:00:05</param>
  1. 
          </hook>
    </hooks>

  1. Enable the the hook of type "DFS.Connect.Hooks.DetectDamChangesLoader" and disable the hook of type "DFS.Connect.Hooks.ResolvePushEventsLoader".
  2. That it. Recycle you site and do a full sync of the silo. If for some reason you dont see the silo automatically updates, then go to this page for help. DFS 9.3.0 - The auto synchronization between Digizuite and Sitecore

Table of Contents