Versions Compared

Key

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

...

Pipeline

Description

PipelineArgs

DFS.Services.DFSMedia

This pipeline will return the media stream either from the cache or from Digizuite DAM. 

  1. First we check security.

  2. If the media is in the cache we return that.

  3. The media was not in the cache, fetch the media from Digizuite DAM.

  4. We resize the image, if resizing parameters was added.

  5. Store the media in the cache.


List of processors

  • DFS.Client.Services.Pipelines.DFSMedia.SynchronizeAsset (Only In Role: ContentManagement)

  • DFS.Client.Services.Pipelines.DFSMedia.LoadAssetEntity

  • DFS.Client.Services.Pipelines.DFSMedia.GetMediaFromCache

  • DFS.Client.Services.Pipelines.DFSMedia.GetMediaFromDigizuite

  • DFS.Client.Services.Pipelines.DFSMedia.ResizeImage

  • DFS.Client.Services.Pipelines.DFSMedia.SaveToCache

  • DFS.Client.Services.Pipelines.DFSMedia.ResolveFilename


Code Block
languagec#
var arguments = new DFSMediaPipelineArgs
{
	Request = mediaRequest,
    Result = new MediaResult()
};



Synchronization

Pipeline

Description

PipelineArgs

DFS.SyncAsset

This pipeline will fetch the asset from Digizuite DAM and save an item in the asset silo. 

  1. First we check security.

  2. If the media is in the cache we return that.

  3. The media was not in the cache, fetch the media from Digizuite DAM.

  4. We resize the image, if resizing parameters was added.

  5. Store the media in the cache.

List of processors

  • DFS.Connect.Pipelines.SyncAsset.ItemExists

  • DFS.Connect.Pipelines.SyncAsset.FetchAsset

  • DFS.Connect.Pipelines.SyncAsset.SaveItem

Code Block
languagec#
var arguments = new SyncAssetArgs
{
    AssetId = aid,
    Language = DfsLanguage.GetLanguage(language),
    ForceUpdate = true
};