Digizuite DAM integration service provides an API where integration endpoints can register for notifications regarding asset and metadata changes. We have made it easy to setup the connection between Sitecore and Digizuite. You registrer an url and your Sitecore instance will receive notifications from Digizuite whenever an asset changes. In Sitecore we have created a new controller, which is located at the following route [siteUrl]/damforsitecore/silo/update. This is the endpoint that receives notifications from Digizuite. An important thing to note here is, that the endpoint should be reachable by the Digizuite server. Otherwise, the notifications won't be sent. This is usually the case for developers on local environments.
let’s talk about what the controller does when it receives a notification. The data coming from Digizuite will be serialized in to an object of this type:
Code Block |
---|
public class UpdateNotification
{
public ChangeType ChangeType { get; set; }
public ChangeData Data { get; set; }
}
public class ChangeData
{
public int ItemId { get; set; }
public int BaseId { get; set; }
} |