Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
In DAM For Sitecore 9.4, we have shifted technology from pulling updates to pushing updates. In the previous versions of the module, we had a hook that 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 were synchronized into the silo. This feature has been deprecated.
Now we have changed this to an event-driven architecture. The Digizuite DAM will now send out notifications to Sitecore whenever an asset or metadata of an asset has changed. 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 | ||
---|---|---|
| ||
It is important that the Digizuite DAM server can access your Sitecore instance through HTTP/ HTTPS otherwise it won't be able to send out notifications. |
Create an integration endpoint
Go to the DAM for Sitecore Administration dashboard (Control Panel → Administration → Administration DAM for Sitecore). In the right side of the main page, you should see a "Validate Digizuite Integration" message, which should say something like this "No endpoint has been set up for this Sitecore instance. The asset silo won't be updated automatically. See documentation how to set up a new Digizuite integration endpoint". If it instead has a green checkmark, the integration already has been set up and you can skip this setup guide.
- Click the menu "Digizuite Integration".
- You should see an empty list, indicating that no endpoint has been configured.
- Click on the icon , which brings up this dialog.
- Enter the URL to your 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.
Your Sitecore instance will now be ready to receive updates from the Digizuite DAM. To validate this, go to the DAM Explorer and locate any asset. Open the Digizuite DAM Center and search for your chosen asset. Make a change to the asset's metadata - e.g. change the title. Once you save your changes, a notification should be sent to your Sitecore instance and thereby update the asset. Reload the DAM Explorer and validate that the title of the asset indeed has been updated.
Enable the old way of keeping the silo up to date
If for some reason your Sitecore instance is not reachable from the Digiziute DAM server, then you have to enable the "old way of keeping the silo up to date". Where the Sitecore instance asks Digizuite for changes every 1 minute. To enable this feature do the following:
Open Website\App_Config\Include\damforsitecore\DFS.Connect.config and locate the <hooks> section. You should see something like this:
Code Block language xml <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>
- Enable the the hook of type "DFS.Connect.Hooks.DetectDamChangesLoader" and disable the hook of type "DFS.Connect.Hooks.ResolvePushEventsLoader".
- 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 10.0.0 - The auto synchronization between Digizuite and Sitecore
Table of Contents |
---|