...
Pipeline | Description | PipelineArgs | |||||
---|---|---|---|---|---|---|---|
DFS.Services.DFSMedia | This pipeline will return the media stream either from the cache or from Digizuite DAM.
List of processors
|
|
App_Config/Include/damforsitecore/DFS.Connect.config
...
This pipeline will pick up any changes made to assets or metafield in Digizuite DAM.
- First we fetch assets that has been changed in a given date range. A list of assets are store on the detectDamChangesArgs.modifiedAssets.
- Then we fetch metafields that has been changed in a given date range. A list of metafield are store on the detectDamChangesArgs.modifiedMetafields.
- The RunSyncDeletedAssets processor will delete sitecore items from the silo bucket, that no longer exists in the DAM for Sitecore channel in Digizuite DAM, the same goes for the RunSyncDeletedMetafields processor.
List of processors
- DFS.Connect.Pipelines.DetectDamChanges.RunGetModifiedAssets
- DFS.Connect.Pipelines.DetectDamChanges.RunGetModifiedMetafields
- DFS.Connect.Pipelines.DetectDamChanges.RunSyncDeletedAssets
- DFS.Connect.Pipelines.DetectDamChanges.RunSyncMetagroups
- DFS.Connect.Pipelines.DetectDamChanges.RunSyncDeletedMetafields
Code Block | ||
---|---|---|
| ||
var detectDamChangesArgs = new DetectDamChangesArgs(assetSilo, LanguageManager.DefaultLanguage.Name, DateTime.Now); |
...
This is the full synchronization, is fetches both configurations and assets from Digizuite DAM. The assets are stored in the silo which is a item bucket.
- Check if the silo is locked, we can only run one full synchronization at a time. If the silo is not locked, we lock it.
- Then pauses out custom index: dfs_assets_master_index
- Fetch all configuration.
- Fetch all assets that are avaible in Digizuite DAM channel.
- Create/update all (new) Sitecore items from what you have fetched.
- Rebuild the index: dfs_assets_master_index
- Unlock the silo again.
List of processors
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.CheckSiloLock
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.LockSilo
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.PauseSearchIndexing
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunEnsureMetaDataFolders
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunSynchronizeMetaDataLanguages
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunSynchronizeAssetTypes
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunSynchronizeMetaGroupRoots
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunSynchronizeAssetTypes
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunSynchronizeMediaFormatTypes
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunSynchronizeConfig
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunSynchronizeFormats
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.ResumeSearchIndexing
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RebuildSearchIndexes
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.PauseSearchIndexing
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunSynchronizeAssets
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.ResumeSearchIndexing
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RebuildSearchIndexes
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.UnLockSilo
Code Block | ||
---|---|---|
| ||
var synchronizeAssetsSiloRequest = new SynchronizationRequest(0,SiloId)
{
Language = "en",
Direction = Direction.Inbound, PipelineName = "DFS.Connect.SynchronizeSilo"
}; |
...
This will only synchronize the configuration.
- Check if the silo is locked, we can only run one full synchronization at a time. If the silo is not locked, we lock it.
- Pause the custom index: dfs_assets_master_index
- Fetch all configuration.
- Create/update all (new) Sitecore items
- Rebuild the index: dfs_assets_master_index
- Unlock the silo again.
List of processors
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.CheckSiloLock
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.LockSilo
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.PauseSearchIndexing
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunEnsureMetaDataFolders
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunSynchronizeMetaDataLanguages
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunSynchronizeAssetTypes
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunSynchronizeMetaGroupRoots
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunSynchronizeAssetTypes
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunSynchronizeMediaFormatTypes
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunSynchronizeConfig
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunSynchronizeFormats
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.ResumeSearchIndexing
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RebuildSearchIndexes
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.UnLockSilo
Code Block | ||
---|---|---|
| ||
var synchronizeAssetsSiloRequest = new SynchronizationRequest(0,SiloId)
{
Language = "en",
Direction = Direction.Inbound,
PipelineName = "DFS.Connect.SynchronizeSiloConfiguration"
}; |
...
This will only synchronize the assets.
- Check if the silo is locked, we can only run one full synchronization at a time. If the silo is not locked, we lock it.
- Then pauses out custom index: dfs_assets_master_index
- Fetch all assets.
- Create/build all (new) Sitecore items
- Rebuild the index: dfs_assets_master_index
- Unlock the silo again.
List of processors
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.CheckSiloLock
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.LockSilo
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.PauseSearchIndexing
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RunSynchronizeAssets
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.ResumeSearchIndexing
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.RebuildSearchIndexes
- DFS.Connect.Pipelines.SynchronizeAssetsSilo.UnLockSilo
Code Block | ||
---|---|---|
| ||
var synchronizeAssetsSiloRequest = new SynchronizationRequest(0,SiloId)
{
Language = "en",
Direction = Direction.Inbound,
PipelineName = "DFS.Connect.SynchronizeSiloAssets"
}; |
...
This will re-synchronize one single asset item and update the data from Digizuite DAM.
- Find the bucket item in Sitecore.
- Fetch data from Digizuite DAM, for the specific assetId.
- We only update the sitecore item, if there are any changes.
List of processors
- DFS.Connect.Pipelines.SynchronizeAsset.GetSitecoreAsset
- DFS.Connect.Digizuite.Pipelines.SynchronizeAsset.GetAsset
- DFS.Connect.Pipelines.SynchronizeAsset.ResolveAssetChanges
- DFS.Connect.Pipelines.SynchronizeAsset.SaveAssetToSitecore
- DFS.Connect.Digizuite.Pipelines.SynchronizeAsset.SaveAsset
Code Block | ||
---|---|---|
| ||
var synchronizeAssetRequest = new SynchronizationRequest(AssetId, ID.Parse(assetSiloRootId).ToString())
{
Language = language.Name,
Direction = Direction.Inbound,
Path = ID.Parse(assetSiloRootId).ToString()
};
|