Versions Compared

Key

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

...

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; }
}

The property ChangeType indicates whether it's an AssetChanged, MetafieldChanged, ComboValueChanged or TreeValueChanged. The DAM for Sitecore connector only support the event type AssetChanged. The following happens when we recive the AssetChanged event:

  1. Run the pipeline DFS.DigizuiteUpdateNotification

    1. Call Digizuite api to fetch the asset information.

    2. Save the asset in the asset silo (/sitecore/media library/Digizuite/Assets).

    3. Clear local asset cache.

    4. Send remove event to all CD servers and clear cache.