DC 5.8 Download filenames
When downloading files in Digizuite either single or bulk, the naming of the file can be controlled.
The configuration are available in Digizuite Configuration as Digizuite constants
The following constants are used
DOWNLOAD_NAME_REPLACE_MASK
DOWNLOAD_NAME_REPLACE_MASK_FALLBACK
The values of these two uses a replace pattern where the following options are available
[%AssetId%]
[%ItemId%]
[%AssetTitle%]
[%SourceFileName%]
[%MediaFormatId%]
[%MediaFormatName%]
[%MetafieldId_{id}]
NB: The extension of the format that is downloaded is always appended
The default value uses the following pattern
[%AssetId%]_[%MediaFormatId%]
which produces names like 1234_3.jpg for assetid 1234 and mediaformatid 3.
For the Metafield option the metafieldid of the field to be used must specified. As an example if the title metafield has id 50181, the corresponding replace pattern would look like this
[%AssetId%]_[%MetafieldId_50181]
Lastly, there is a fallback option which is used if the provided pattern does not produce any filename.
Ā