Summary

Add product information from tags to the file name on download of a Content Item, by adding the product tags to the Display Pattern “Download file name”.

{{data.productLayer.products | tagbox_name | join: ", " }}
_
{{data.productLayer.products.bricks.category.name}}
_
{{data.productLayer.products.bricks.campaign.name}}
CODE

Setup in Picturepark

  • Layer: Product Layer

  • Fields

    • Brick (Product Category) as single Tagbox

      • with additional attributes like Category and Campaign (single tagboxes)


Field Value Access

  • data.productsLayer.products

  • data.productsLayer.bricks.name

  • data.productsLayer.bricks.category.name

  • data.productsLayer.bricks.campaign.name

Use Case

We want to include product information in the filename of a Content Item that is downloaded. This way we can ensure that our file naming convention is correctly applied. 

The file naming convention is: ProductName_ProductCategory_ProductCampaign

  • We have all this information applied as tags to the product content. 

The desired outcome is: ContentPlatform_OnmichannelContentPlatform_BeyondDAM.mp4 

Display Pattern

  1. Open File Types

  2. Open settings of File Type Images (ImageMetadata)

  3. Open Display Pattern “Download file name”

{{data.productLayer.products | tagbox_name | join: ", " }}
_
{{data.productLayer.products.bricks.category.name}}
_
{{data.productLayer.products.bricks.campaign.name}}
CODE