Documentation Center

Publish Binary Variants of Documentum Assets

The Publish Binary Variants of Documentum Assets Template Building Block handles situations where multiple renditions of the same asset are published from Content Manager.

These renditions are published as binary variants in SDL Tridion and the default Publish Binaries in Package (part of the Default Finish Actions) does not handle variants correctly. You therefore need to include Publish Binary Variants of Documentum Assets in your template before Publish Binaries in Package to ensure that all variants are published correctly.

Template tasks
The template performs the following tasks:
  1. Loops through every binary currently in the package.
  2. Checks whether the item contains a property named EmcConfigurationVariables.ItemPropertyRenditionName.
  3. Check whether the filename extension of the item type is different from the extension of the main item that this rendition is derived from (the main item is always jpg).
  4. If the extension is different—and therefore the filename is different—the template:
    • publishes the item as a variant with the extension as the variant ID.
    • removes the item from the package so the default Publish Binaries in Package does not also publish it.