Skip to main content
Version: v10.x - Umbraco 10

uSync Notifications

You can hook into the uSync process at a number of points. These events will be fired, and you can process the elements.

tip

For Umbraco 10, events are fired as Notifications, you will need to register a NotificationHandler to receive the event notification

Batch Notifications

These events fire at the beginning and end of any process, you can use these events to prep before or cleanup after a uSync event.

// using uSync.BackOffice

uSyncImportStartingNotification
uSyncImportCompletedNotification
uSyncExportStartingNotification
uSyncExportCompletedNotification
uSyncReportStartingNotification
uSyncReportCompletedNotification

Item Notifications

These events fire before/after an individual item is processed. On the 'ing' events (e.g reportingItem) you can cancel the process by setting Cancel to true on the passed object.

// using uSync.BackOffice 

uSyncReportingItemNotification
uSyncReportedItemNotification

uSyncImportingItemNotification
uSyncImportedItemNotification

uSyncExportingItemNotification
uSyncExportedItemNotification