Edit assets metadata via CSV

Update metadata for multiple files at once by uploading a CSV. Learn how to structure your file, which fields are supported, and how to validate changes before applying them.

Overview

This feature allows you to update the metadata of multiple files in bulk by importing a CSV file. It is useful when you need to edit tags, titles, descriptions, or custom fields across many files quickly.

When to use this feature

Editing metadata via CSV is useful in the following cases:

  • bulk metadata assignment after upload of multiple files

  • correction of any metadata mistakes across multiple assets

  • renaming multiple files

  • moving multiple files to a new folder as an alternative to the standard "Move" action from the context menu

Prerequisites

  • a software tool for editing CSV files (Excel, Google Sheets, Numbers, etc)

  • Gallery permission to edit the assets metadata in the relevant folder

  • read the section about the accepted format of the values

  • before editing metadata, review your team's metadata guidelines to ensure consistent usage of tags, titles, and values

  • (optional) get a text editing tool that allows you to open the CSV file as a simple text file - it is useful for troubleshooting purposes in case of any unexpected issues in the CSV processing

CSV format requirements

The CSV (Comma-Separated Values) file is a format that may contain comma (,), semi-colon (;) or pipe (|) as a column separator.

Some software tools for editing CSV files tend to overwrite the default column separator. It means that the initial file might be downloaded as comma-separated, but after saving the changes, the tool may convert it to a semicolon-separated file. These files may cause issues. DAM will likely reject them during upload.

Steps how to troubleshoot such problems, if they appear on your device, are described in What to do if the updated CSV is semi-colon separated and DAM doesn't accept it?

How to edit metadata via CSV

Step 1: Download the initial CSV file

First, you need to select the files that require editing. They can be:

  • the content of a specific folder - in this case, go to Folders view and navigate to the target folder. Then open the context menu and choose "Edit files via CSV"

  • the files uploaded in a specific period, files that contain a specific value in a metadata field, files with a specific label, My favourites, etc - in this case, apply the corresponding filters in the Assets view in order to get only the files that require changes. Scroll to the bottom of the page to load all results. For large volumes of results (50+), lazy loading may be triggered, so you need to scroll to the very end of the results set. Click on "Select all visible files" and then choose option "Bulk edit via CSV"

Once the files are selected, download the CSV file containing their existing metadata.

Structure of the CSV file

System metadata fields
Field
Description
Editable?

Item type

Information if the record describes a FILE or a FOLDER

Non-editable

Path

File location in DAM.

Editing the folder path will move the file.

Editing the filename will rename it. Caution: Renaming or moving files may affect links, embeds, or published content that rely on the original location or filename.

CDN Link

The CDN link where you can access the optimised, publicly available version of this file (no CDN link for Private assets and Folders).

Non-editable

Mime type

The MIME type of the file (jpeg, png, pdf, txt, etc).

Non-editable

Size

The asset's size in bytes

Non-editable

SHA1

The sha1 value of the asset. A unique identifier for the asset content.

Non-editable

UUID

The unique identifier of the asset in DAM.

Non-editable

Created at

The date when the file has been uploaded. In yyyy-MM-dd hh:mm:ss format.

Non-editable

Updated at

The date when the file has been edited for last time. In yyyy-MM-dd hh:mm:ss format.

Non-editable

Visibility

It could be:

  • inherited - sharing the same visibility settings as the ones of the parent folder.

  • public - visible to everyone.

  • private - restricted access.

Editable. Caution is advised to avoid exposing protected data or disrupting public asset delivery.

General metadata fields
Field
Description
Editable?

Title

Title of the file(if any)

Editable

Description

Description of the file content (if any)

Editable

If Regional variants are enabled for your project and it has several Languages, each of these fields will appear in a separate column for each of the configured languages.

Custom metadata fields

The next part of the CSV consists of a list of custom metadata fields and their language variations (if any). The custom metadata fields are specific to every project.

Step 2: Modify the CSV file

As a general rule, it is good to review the metadata structure of your project so to know what kind of values are expected in every field.

In case some metadata field is set with "Regional Variant: Languages", there will be a dedicated column for every language configured for the project.

Accepted values for the custom metadata fields
  • Short/Long text type - use plain text without line breaks and new line symbols to avoid CSV parsing issues.

  • Numbers - only whole numbers are accepted. No decimal values like 123.00

  • Booleans - accepts only true or false

  • List (single select) - only existing values are accepted. Invalid values will be replaced with "-" (none).

  • List (multiple select) - several values can be provided, separated by ; In the same way, like the rule for the Single-select lists, the value should already exist in the metadata structure.

  • Date - should be supplied in format yyyy-MM-dd

  • Tags - this kind of field accepts new values that may not currently exist in the project metadata structure. Supply the tag values separated by ;

Step 3: Upload the updated CSV to apply metadata changes

Metadata validation

Even if you modify some of the non-editable fields, DAM will not reflect the changes.

If you submit an invalid list option for the Single-select and Multi-select List custom fields, the CSV will be uploaded, but the value in these fields will become - (none)

Empty cells will not replace an existing metadata value in DAM.

Change in the folder's path of the asset would result in moving the file to the new location (and eventually creating a new folder if it does not already exist in the Folders structure)

A change in the filename would result in renaming the file.

The updated CSV can be renamed; however, its first line (the Headers row) should always remain unchanged.

Up to 50 000 assets can be updated in a single CSV file.

Troubleshooting common issues during CSV edit

What to do if the updated CSV is semi-colon separated and DAM doesn't accept it?

In order to verify what the column separator of the file that your software tool is creating is, you can open the edited version with any text-editing tool that will show the CSV content as simple text. In that way, you can inspect what is the delimiter of your file.

If your CSV-editing tool is creating semi-colon separated files on Save, you need to modify the way your laptop is showing the Numbers format.

For Windows:

  1. Open Windows regional settings.

  2. Inspect the Numbers variant set for your device and set it to show the decimal numbers with a dot (.).

For Mac:

  1. Open "System settings" -> "Language & Region"

  2. Set the "Number format" to 1234567.89 (to use dot, not comma)

Some metadata fields are not updated
  1. Check if the metadata field is editable or not

  2. For custom metadata fields that are Single-select or Multi-select type, open the Metadata structure of the project -> find the problematic field and click on "Edit"

  3. Then, inspect if the non-updated value is in the list of existing values.

  4. If not, please create it and save the changes.

  5. After updating the field values, re-upload the CSV file.

Last updated