...
App_Config/Include/damforsitecore/DFS.SettingsPipelines.config
Pipeline | Description | PipelineArgs |
---|
DFS.GetAssetFieldValue | This pipeline will return rendering html for an asset item.
- First it will get the html template, determined by the media type and the fieldId (HtmlForAssetType). The html templates are located at:
Sitecore → System → Modules → Digizuite → MedaDataRoot → AssetTypeOutputRoot. - The different processors will replace the stampvalue in the html template.
- The property FieldValue of GetAssetFieldValueArgs will contain the rendering html.
List of processors - DFS.ContentSearch.Pipelines.GetAssetFieldValue.GetAssetTypeOutput
- DFS.Pipelines.GetAssetFieldValue.ReplaceTagsWithSelectedValues
- DFS.Services.Pipelines.GetAssetFieldValue.ReplaceTagsWithAccessValues
- DFS.Pipelines.GetAssetFieldValue.ReplaceTagsWithConfigValues
- DFS.Pipelines.GetAssetFieldValue.ReplaceTagsWithAssetItemFieldValues
- DFS.ContentSearch.Pipelines.GetAssetFieldValue.ReplaceTagsWithAssetIndexValues
- DFS.Pipelines.GetAssetFieldValue.RemoveEmptyAttributes
- DFS.Pipelines.GetAssetFieldValue.AppendTagsWithParameterValues
- DFS.ContentSearch.Pipelines.GetAssetFieldValue.AppendSeo
- DFS.Pipelines.GetAssetFieldValue.SplitFieldValueIntoResult
|
Code Block |
---|
| var renderArgs = new GetAssetFieldValueArgs
{
AssetItemId = new ID(this.AssetItemId),
ContextLanguage = Context.Language,
FieldId = DFS.Fields.HtmlForAssetType.FieldAssetMedia,
Quality = this.Quality
}; |
|
App_Config/Include/damforsitecore/DFS.Services.config
Pipeline | Description | PipelineArgs |
---|
DFS.Services.DFSMedia | This pipeline will return the media stream either from the cache or from Digizuite DAM. - First we check security.
- If the media is in the cache we return that.
- The media was not in the cache, fetch the media from Digizuite DAM.
- We resize the image, if resizing parameters was added.
- Store the media in the cache.
List of processors - DFS.Client.Services.Pipelines.DFSMedia.CheckSecurityFetchAsset (Only In Role: ContentManagement)
- DFS.Services.Pipelines.DFSMedia.GetMediaFromCacheDFS.Services.Pipelines.DFSMedia.GetMediaPrerequisites
- DFS.Services.Pipelines.DFSMedia.GetMediaFromDigizuite
- DFS.Services.Pipelines.DFSMedia.ResizeImage
- DFS.Services.Pipelines.DFSMedia.SaveToCache
- DFS.Services.Pipelines.DFSMedia.ResolveDownloadFilename
|
Code Block |
---|
| var arguments = new DFSMediaPipelineArgs
{
Request = mediaRequest,
Result = new MediaResult()
}; |
|
...