DFS 11.1 - 6 Pipelines in DAM for Sitecore
DAM for Sitecore is constructed using pipelines, and it is possible to hook into the pipelines.
Note: Be aware that if you do change the pipelines, you are changing how DAM for Sitecore is supposed to work out of the box, and this may result in undesirable side effects.
The pipelines are defined in the .config files App_Config → Include → damforsitecore → DFS.Pipelines.config
Below are descriptions of the most important pipelines used in the module.
App_Config/Include/damforsitecore/DFS.Pipelines.config
Pipeline | Description | PipelineArgs |
---|---|---|
DFS.GetAssetFieldValue | This pipeline will return rendering html for an asset item.
List of processors
| var renderArgs = new GetAssetFieldValueArgs
{
AssetItemId = new ID(this.AssetItemId),
ContextLanguage = Context.Language,
FieldId = DFS.Fields.HtmlForAssetType.FieldAssetMedia,
Quality = this.Quality
}; |
Pipeline | Description | PipelineArgs |
---|---|---|
DFS.Services.DFSMedia | This pipeline will return the media stream either from the cache or from Digizuite DAM.
List of processors
| var arguments = new DFSMediaPipelineArgs
{
Request = mediaRequest,
Result = new MediaResult()
}; |
Pipeline | Description | PipelineArgs |
---|---|---|
DFS.DigizuiteUpdateNotification | This pipeline will run every time Digizuite sends asset updates.
List of processors
|
var syncAssetsArgs = new SyncAssetsArgs
{
FacetList = new List<FacetField>
{
new FacetField()
{
facetMode = "QueryOnly",
recursive = true,
searchKey = "assetId",
values = assetIds
},
new FacetField()
{
recursive = false,
searchKey = "derivedFrom",
operation = "Or",
facetMode = "QueryOnly"
}
},
Count = assetIds.Count,
Language = DfsLanguage.GetLanguage(language),
AssetIds = BaseIds
};
|
Synchronization
Pipeline | Description | PipelineArgs |
---|---|---|
DFS.SyncAsset | This pipeline is triggered when you insert Digizuite assets into on of the DAM for Sitecore custom fields.
List of processors
|
|
Pipeline | Description | PipelineArgs |
---|---|---|
DFS.SyncAssets | This pipeline is used in Administration DAM for Sitecore. Under the menu Broken links and Synchronization.
List of processors
|
|
Pipeline | Description | PipelineArgs |
---|---|---|
DFS.BatchSync | This pipeline is used in Administration DAM for Sitecore. Under the menu Synchronization. This pipeline is used to synchronize a large number of assets. It will run in a Sitecore job.
List of processors
|
|
Pipeline | Description | PipelineArgs |
---|---|---|
DFS.BatchSyncAssets | This pipeline is triggered by the pipeline DFS.BatchSync.
List of processors
|
|