Versions Compared

Key

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

 

 

Part of the new DAM 4.5.1 release is represented by the support offered for the new DAM for Sitecore module. The 2 main changes are:

...

  1. Upload the substitute assets to the catalog folder called Default preview icons.It is important that you place them there, because there is a workflow (AssetSyncFolder) that automatically publishes to the channel folder Default preview icons.

  2. Create the formats you want your substitute assets to be transcoded into and then create a profile with these formats.

  3. Add this profile to Profiles and destinations in config manager. Only add this one time pointing to the chanel folder Default preview icons. We recommend that you add is to the relevant version.

  4. Go to the config version where you want to enable the default preview feature. In the screenshot you can see that we have configured it for Dam For Sitecore version 5.0.0.


    The Default previews is an iterativ metagroup. The group consists of 4 fields:
     
    Assettype
    lskdfldsflsdf (required)
    The assettype you want a substitute for.

    Preview Asset (required)
    The asset you want as the subsitute.
     
    Input Mediaformat
     
    Output MediaformatSelect the mediaformat that this substitute should match up against.

    Output Mediaformat
    Select the mediaformat that the selected substitute asset should be returned in.

    The assetstreamer logic when default preview is configured
    If the requested assetId and mediaformatId did not return any content, then we go into the default preview logic.
    a) Get default configuration for the version bound in the accesskey. If empty, it fall back to the dam center version to see if it has any configuration.
    b) Test if there is any configuration for the requested assettype.
    c) We then test if there is any configuration where Input mediaformat equals the requested mediaformat and the output mediaformat is set. Then we try to stream that format for the configured preview asset.
    d) If c did not find anything, then we find the first configuration, where input mediaformat equals 0 and streams that with the requested mediaformat or the output mediaformat if defined.
    e) return 404 if none of the above was a success.


  5. On the config version you just added the default previews to. You have to set the config param Default Preview Destination to the destination where the substitute assets are published to. For most of the times this will be FrontenData SM.

...