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.

1. Create integration endpoint

Go to the DAM for Sitecore Administration dashboard (Control Panel → Administration → Administration DAM for Sitecore). On the main page at the right site you should see a "Validate Digizuite Integration" which should say something like this "No endpoint has been setup for this Sitecore instance. The asset silo wont be updated automatically. See documentation how to setup a new Digizuite integration endpoint". If it's a green check mark, then the integration has already been setup and you can skip this setup.

  • Click the menu "Digizuite Integration".
  • You should see an empty list, indicating that no endpoint has been configured.
  • Click on the icon Image Removed, which brings up this dialog.
    Image Removed 
  • Enter a name for the endpoint then the URL to you Sitecore instance without the /sitecore. This URL must be accessible from the Digizuite DAM server.
  • Click create endpoint.
  • You should now see the newly created endpoint in the list. By default a newly created endpoint is disabled (status = stopped). To enable it click the actions buttons Image Removed and select the menu "Start endpoint".
  • Now the status should change to "running".

Now you Sitecore instance are ready to receive updates from Digizuite DAM. To test this, go to the DAM Explorer and find an asset. Then open Digizuite DAM and search for the same asset. Make a change to the metadata of the asset ex. the title. Save the change, this should fire an notification to you Sitecore instance and update the asset. Reload the DAM Explorer and see if the title of  the asset has changed. 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
    <hooks>
          <!--hook type="DFS.Connect.Hooks.DetectDamChangesLoader, DFS.Connect">
            <param name="agent" type="DFS.Connect.DetectDamChangesAgent, DFS.Connect">
              <param name="repository" ref="DFS.Connect/assetSiloRepository" />
            </param>
            <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>
          </hook>
    </hooks>


  2. Enable the the hook of type "DFS.Connect.Hooks.DetectDamChangesLoader" and disable the hook of type "DFS.Connect.Hooks.ResolvePushEventsLoader".
  3. 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