Versions Compared

Key

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

...

The possible stampvalue tags can be found here DFS 9.2.0 - 3 Render DAM for Sitecore Field Types, section 3.5 and   and here  DFS 9.2.0 - 4 Accessing metadata through API.

...

  1. I want the file to contain title and selected quality id.

    Code Block
    languagexml
    <setting name="DFS.MediaPipeline.downloadFilename.mask" value="{stampvalue-asset:name}-{stampvalue-selected:quality}" />

    Output: Penguinws Penguins-50051.jpg

  2. I want to prefix all download names with the tag DFS.

    Code Block
    languagexml
    <setting name="DFS.MediaPipeline.downloadFilename.mask" value="DFS-{stampvalue-asset:name}" />

    Output: DFS-Penguins.jpg

  3. I want the file to contain the photograph name, in this example is has the metafieldId 50055.

    Code Block
    languagexml
    <setting name="DFS.MediaPipeline.downloadFilename.mask" value="Download-{stampvalue-asset:name}-{stampvalue-asset:50055}" />

    Output: Penguins-John doe.jpg