Cloudinary Logo Cloudinary Docs Docs
  • Programmable Media
    • Get Started
    • Guides
    • References
    • SDKs
    • Release Notes
  • Digital Asset Management
    • Get Started
    • User Guides
    • Admin Guides
    • Release Notes
  • More Products
    • Integrations Add Cloudinary capabilities to your tech stack apps and platforms
    • MediaFlows Low-code workflow automation for images and videos
    • Dimensions (Beta) Create and deliver engaging 3D immersive experiences
    • FinalTouch (Early Access) AI-powered virtual photoshoot and image creation for eCommerce
  • Resources
    • Blog
    • Training
    • Support
    • Community
    • Podcasts
    • Demos
    • Roadmap
    • Additional Resources
  • Pricing
Light theme
Dark theme
Device default
Go to Console
sign up for free
  • Get Started
    • DAM product overview
    • Get started with Assets
    • Video tutorial library
      • DAM administration
      • Using DAM features
      • Assets onboarding
  • User Guides
    • DAM Overview
    • Managing individual media assets
      • Editing and transformations
      • Collaboration tools
      • Custom metadata
      • Analysis and insights
      • Asset protection
      • Add-ons
      • DAM Apps
    • Uploading and storing assets
    • Folders and collections
    • Media asset search
      • Global Search
      • Advanced Search
      • Query Builder
      • Visual Search
  • Admin Guides
    • User and group management
      • Users and groups overview
      • SAML SSO
    • Settings and preferences
      • Media Library options
      • Console Settings
      • Folder modes
    • Upload presets
    • Structured metadata
    • Asset management
    • EasyFlow automation
    • Usage data
  • Release Notes
    • Latest: Jun 10, 2024
    • Apr 10, 2024
    • Jan 31, 2024
    • Previous releases
      • Dec 7, 2023
      • Sep 28, 2023
      • Aug 22, 2023
      • Mar 22, 2023
      • Feb 22, 2023
      • Nov 21, 2022
  • Get Started
    • DAM product overview
    • Get started with Assets
    • Video tutorial library
      • DAM administration
        • Folder sharing
        • Collection management
        • Collection sharing
        • Transformation presets
      • Using DAM features
        • Media Library upload
        • Video management intro
        • Advanced Search
      • Assets onboarding
        • Asset structure - Metadata and tags
        • Asset structure - Folders
        • Dashboards and reports
        • Sharing assets - Chapter 1
        • Sharing assets - Chapter 2
        • Sharing assets - Chapter 3
        • Searching for assets
        • Transformations
  • User Guides
    • DAM Overview
    • Managing individual media assets
      • Editing and transformations
      • Collaboration tools
      • Custom metadata
      • Analysis and insights
      • Asset protection
      • Add-ons
      • DAM Apps
    • Uploading and storing assets
    • Folders and collections
    • Media asset search
      • Global Search
      • Advanced Search
      • Query Builder
      • Visual Search
  • Admin Guides
    • User and group management
      • Users and groups overview
      • SAML SSO
    • Settings and preferences
      • Media Library options
      • Console Settings
      • Folder modes
    • Upload presets
    • Structured metadata
    • Asset management
    • EasyFlow automation
    • Usage data
  • Release Notes
    • Latest: Jun 10, 2024
    • Apr 10, 2024
    • Jan 31, 2024
    • Previous releases
      • Dec 7, 2023
      • Sep 28, 2023
      • Aug 22, 2023
      • Mar 22, 2023
      • Feb 22, 2023
      • Nov 21, 2022
Programmable Media
  • Get Started
  • Guides
  • References
  • SDKs
  • Release Notes
Digital Asset Management
  • Get Started
  • User Guides
  • Admin Guides
  • Release Notes
  • More Products
      More Products
      Integrations
      Add Cloudinary capabilities to your tech stack apps and platforms
      MediaFlows
      Low-code workflow automation for images and videos
      Dimensions (Beta)
      Create and deliver engaging 3D immersive experiences
      FinalTouch (Early Access)
      AI-powered virtual photoshoot and image creation for eCommerce
  • Resources
      Resources
      Blog
      Training
      Support
      Community
      Podcasts
      Demos
      Roadmap
      Additional Resources
  • Pricing
    sign up for free
    Digital Asset Management
    Menu
    • Get Started
      • DAM product overview
      • Get started with Assets
      • Video tutorial library
        • DAM administration
          • Folder sharing
          • Collection management
          • Collection sharing
          • Transformation presets
        • Using DAM features
          • Media Library upload
          • Video management intro
          • Advanced Search
        • Assets onboarding
          • Asset structure - Metadata and tags
          • Asset structure - Folders
          • Dashboards and reports
          • Sharing assets - Chapter 1
          • Sharing assets - Chapter 2
          • Sharing assets - Chapter 3
          • Searching for assets
          • Transformations
    • User Guides
      • DAM Overview
      • Managing individual media assets
        • Editing and transformations
        • Collaboration tools
        • Custom metadata
        • Analysis and insights
        • Asset protection
        • Add-ons
        • DAM Apps
      • Uploading and storing assets
      • Folders and collections
      • Media asset search
        • Global Search
        • Advanced Search
        • Query Builder
        • Visual Search
    • Admin Guides
      • User and group management
        • Users and groups overview
        • SAML SSO
      • Settings and preferences
        • Media Library options
        • Console Settings
        • Folder modes
      • Upload presets
      • Structured metadata
      • Asset management
      • EasyFlow automation
      • Usage data
    • Release Notes
      • Latest: Jun 10, 2024
      • Apr 10, 2024
      • Jan 31, 2024
      • Previous releases
        • Dec 7, 2023
        • Sep 28, 2023
        • Aug 22, 2023
        • Mar 22, 2023
        • Feb 22, 2023
        • Nov 21, 2022
    • Digital Asset Management
    • Admin guides
    • Structured metadata

    Structured metadata

    Last updated: Oct-13-2024

    Structured metadata fields enable you to store descriptive information about your assets.

    When setting up your product environment, determine what information best serves your organization to classify and identify your assets, and create your structured metadata fields accordingly.

    A well planned structured metadata schema will:

    • Improve your ability to manage your assets. Describing your assets in a meaningful way will increase asset searchability and discoverability.
    • Open up a variety of options for programmatic operations. Storing descriptive information about your assets will enable developers to identify asset for different programmatic operations.
    • Increase DAM navigability. Using structured metadata in a comprehensive way can replace the need for deep file structure as a method of classifying assets.

    Overview

    Structured metadata fields are a set of custom fields that you can define for each product environment. The defined fields are added to all assets in your Media Library. For example, you could create custom fields for Product category, Status, Product ID, Rights expiration date (for copyrighted materials), Photographer, etc. Each organization can decide on the fields that are most appropriate for its needs.

    Once these fields are defined by a DAM administrator, all DAM users (with relevant permissions) can then set values for these fields on individual assets. This enables better searchability of your assets as well as opening up a variety of options for programmatic operations that your developers can perform based on the metadata values.

    For each field you define, you can specify a field name, value type (string, number, date, list, etc), and other optional settings, such as range validation limits, whether the field is mandatory, a default value that will be automatically set for that field for new assets, and a custom ID value for developers to reference when managing metadata fields programmatically.

    Structured metadata field creation

    On this page:

    • Overview
    • Metadata and tags (video tutorial)
    • Defining how metadata is handled on upload
    • Adding structured metadata fields
    • Managing existing structured metadata fields
    • Modifying field definitions and values programmatically
    • Managing conditional metadata rules
    • View and add metadata values
    • Bulk update structured metadata from a CSV file

    Metadata and tags (video tutorial)

    Watch this video tutorial to learn how to make your content searchable by adding metadata and tags.

    Note
    If you're using the free plan, some of the functionality may differ from what's described in the video.


    This video is brought to you by Cloudinary's video player - embed your own!

    Tutorial contents

    Defining how metadata is handled on upload

    Related topics
    The structured metadata on upload feature is unavailable for the Assets Free plan. For more options and information, contact us.

    You can control whether users are prompted to enter structured metadata values on every upload, or only when there are mandatory fields without default values, in the Request structured metadata on upload section of the Media Library Preferences. When users are prompted to enter metadata while uploading, they can only continue once they've filled in valid values for all mandatory fields. For more details on structured metadata and uploading, see Structured metadata on upload.

    You can also determine how tags and contextual metadata are handled when existing assets are overwritten in the Keep existing metadata when uploading newer versions of an asset section of the Media Library Preferences. When this option is selected, existing tags and contextual metadata are kept when existing assets are overwritten. Otherwise, they are deleted.

    Important
    When uploading via the API, the Keep existing metadata when uploading newer versions of an asset determines the behavior of tags, contextual metadata, and structured metadata. Unless this option is selected, metadata of assets overwritten via the API is deleted. Coordinate with your development team when changing this setting.

    Adding structured metadata fields

    You can create fields of several different types, including text, number, date, single-selection list, and multiple-selection list. You can assign the field a default value, set relevant validations for each field type, and set the list values for single and multiple-selection lists.

    Additional options include:

    Option Description Field Types Example Use Case
    Customize external ID (field) Allows you to customize the field’s external ID, an identifier for programmatically referencing it.

    If left blank, an automatically generated value based on the field name will be assigned.
    All If programmers in your organization manage structured metadata fields, customizing the external ID makes their work more intuitive.

    For example, a programmer can set the Now in stock field to mandatory programmatically by accessing it via its customized external ID: in_stock.
    Hide this field Hides the field unless a conditional rule is met. All Initially hide the State field, unless USA is selected as the value for the Country field.
    Mandatory field Ensures that a field is populated for all assets. All Users can't upload an asset while its Product field is left blank, and the value for the field can't be deleted.
    Read-only field Prevents the field's values from being changed via the UI. Changes can only be made programmatically. All All metadata values are imported from a PIM, and the system needs to be protected from users accidentally changing values from the UI.
    Allow users to add list values dynamically Allows users with Can edit or Can manage permissions on an asset's containing folder to add list values to the structured metadata field. Single and multiple-selection lists While adding metadata to an asset, a user finds that the campaign the asset belongs to doesn't exist as a list value. So, the user dynamically adds the new campaign to the Campaign multi-selection field and saves the newly added list value in the asset's metadata.
    Customize external ID (list value) Allows you to customize a list value's external ID, an identifier for programmatically referencing it.

    If left blank, an automatically generated value based on the list value will be assigned.
    Single and multiple-selection lists If programmers in your organization manage structured metadata fields, customizing the external ID makes their work more intuitive.

    For example, if programmers decide to no longer support GIFs, they can easily reference the GIF list value via its customized external ID and delete it.

    For more detail on these options, see the Considerations section below.

    To add a structured metadata field:

    From the Product Navigation menu, select Structured Metadata to open the Manage Structured Metadata page and then follow the steps shown in the animations below or follow the written instructions.

    Watch and learn: Create your first field (numeric)

    Watch and learn: Create a multi-select field

    Read about how to create fields:

    These steps walk you through the process shown in the above animations, with some additional clarifications:

    1. Click Create a new field and then define the field Label (display name) and Field type.

      Optionally select the Customize external ID checkbox to customize the field's external ID value. The ID can include only alphanumeric, underscore, hyphen, and period characters.
    2. Fill in the relevant options for the field type you chose:
      • For string, number, and date fields, you can optionally set minimum and/or maximum values, a default value for new assets, and whether or not the field should be marked as mandatory, read-only, or hidden.
      • For single-selection or multiple-selection lists:
        1. Add the values you want to make available for your list.
          • Optionally select the Customize external ID checkbox to customize the list value's external ID value. The ID can include only alphanumeric, underscore, hyphen, and period characters. Once you click Set List Value to save the list value and its external ID, you won't be able to modify the list value's external ID.
          • Each new value is added to the end of the list, but you can drag it to the desired location (or use the Move to top/Move to bottom buttons). Up to 3000 values can be defined for a list.
        2. Optionally select one of the defined values as the default value, and whether or not the field should be marked as mandatory, read-only, or hidden.

    Structured metadata field considerations

    • When you create a new field, that field is immediately available from every asset in the Media Library.
    • Default value: After you define a default value for a field, that value appears as the default value for any asset that is subsequently uploaded to the Media Library. The field value will not be set retroactively for assets that were uploaded previously.
    • List values: You can block a list value from being selected by users. Blocking a list value doesn't delete the value from assets already using it, and you can unblock a list value anytime.
    • External ID: The unique identifier for structured metadata fields and single and multiple-selection list values when programmatically handling structured metadata.

      You can customize this value. If you don't, the external ID will be assigned an automatically generated default value, based on the field name or the list value.
      • If you choose to customize external IDs, it's recommended to determine a standard naming convention for these together with the relevant developers.
      • Automatically generated default values follow these guidelines:
        • If the field name or the list value has only alphanumeric characters, the external ID will be given the same value (capital letters changed to lowercase). Example: the list value is Red, so the external ID will be red.
        • Whitespaces or any of these characters -@#()+*.,:~[]{}<>/\=;`“?!_| included in the field name or list value are replaced with an underscore _ in the external ID. Example: the field name is Photographer Name, so the external ID will be photographer_name.
        • If any non-alphanumeric character that is not listed above is included in the field or list value, the external ID is randomly generated. Example: the list value is Black & white, so the external ID will be gxkeslnor1wj8hyux5cr.
      • Once set, external IDs cannot be modified.
      • External IDs (whether automatically generated or customized) can easily be copied and sent to developers as needed:
        • After a field has been created, the field's external ID is displayed in the field details pane.
        • After a list value has been created, the list value's external ID is displayed under the list value in the field details pane.
    • Read-only field: If a field is populated programmatically, you might want to set it as read-only to prevent unwanted changes to its values.
      • A read-only field is viewable but not editable from the Media Library and can only be edited via the API.
      • Assets can be searched from the Media Library by values in read-only fields.
      • A field can be set to be either read-only or mandatory but not both.
      • A read-only field can have a default value.
    • Hidden field: When you define a field as hidden, you cannot initially assign it a default value, nor can you set it to mandatory. You can change the mandatory setting and assign a default value (as well as determining when it will be displayed) using conditional metadata rules.
    • Mandatory field:

      • You have a few ways to make sure that mandatory fields receive values:
        • Define fixed default values when defining the fields.
        • Create conditional metadata rules that assign them default values when they become visible.
        • Allow users to set the values when they are prompted during upload.
          Caution
          Keep in mind that if you don't assign default values for mandatory fields, any developers in your organization must ensure that they pass field values for mandatory fields every time they upload an asset via the API. If they don't, their upload calls will fail.
      • Once a mandatory field has a value (either the default value or one that was set manually), users can modify the value, but they cannot remove the value and leave the field blank. For assets that existed in the Media Library before you set a field as mandatory, the field will initially remain untouched. However, if a user clicks in a mandatory field and then exits it without setting a value, they are notified that the field is mandatory.

    Managing existing structured metadata fields

    After you create metadata fields, you can modify the field definitions, change the display order of fields or list values, block selected list values, or permanently remove a field.

    Considerations:

    • Renaming a field takes effect immediately for all assets in the Media Library. You can also add additional values or modify value names for a single or multiple selection list, and these changes will take place immediately for all assets.
    • If you modify the value name (display text) of an existing list value, this change will also impact assets where the previous name was selected. Thus you should change existing list values only to fix spelling or make the value more clear for users, but you should not change the significance of the value once it's in use. If you want to make a completely different option available, add it as a new value.
    • If you no longer want a value to be available for selection, you can block the value. This removes the value from the selection options in the list for all assets, but does not delete or modify the value for any assets where that value is currently selected.
    • Even after a list item is blocked, you can still search for assets with that value in the Advanced Search. This can be useful to find all assets that used a value you've blocked to change them to other values.
    • Other changes to the definition of a field, such as adding, removing, or modifying default values, changing validation rules, changing the mandatory setting, etc., impact new assets added to the Media Library after the change. Existing assets are affected by these changes only if a user chooses to edit that field.
    • You can also permanently delete an entire field. When you delete a field, the values that were set for that field in existing assets are also permanently removed. You can't delete a field if there are metadata rules configured that cause other fields to depend on it.

    Modifying field definitions and values programmatically

    In addition to creating, updating, or deleting fields, or setting field values in the Console, structured metadata fields and values can also be created, updated, or removed programmatically by developers in your organization using Admin and Upload API methods.

    For example:

    • Add a very long list of possible values to a field, where the values are pulled from external data, such as a list of cities or countries, a set of product codes, a list of suppliers, etc. It may be easier for a developer to create a script to automatically capture and add all the values than for you to add them manually.

    • Update field values for thousands of assets at once. A developer could use the Search API to find all assets that fit certain criteria and then set the metadata fields for all returned assets to the appropriate values.

    • Capture data from other parts of your application and use that data to assign metadata values to assets that your end-users upload. For example, a programmer could set metadata field values to a customer username, options the customer selected in your application and more, and store that data with the assets they upload, so that this data can then be used for other application features. For example, you could then allow your end users to search for all photos they uploaded or display a page with all photos that customers marked as belonging to a selected category.

    • Your developer could create a small application to monitor changes in an external system, such as a PIM, or status management system, and then those changes could trigger programmatic changes to asset metadata values or the possible values of a metadata field.

    For details, see metadata_fields in the Admin API Reference and metadata in the Upload API Reference.

    Managing conditional metadata rules

    When setting up structured metadata fields, you may want to design it so that some fields depend on the values entered in others, meaning that some fields or field values only become relevant if certain selections are made or conversely some fields or values should not be available under certain conditions.

    Related topics

    Enterprise plans:

    • The conditional metadata rules feature is a premium offering for Assets Enterprise plans, and its availability depends on your account setup. If conditional metadata rules is not yet enabled for your account and you'd like to enable it, please contact your Customer Success Manager.

    Free plan:

    • This feature is unavailable on the Assets Free plan. For more options and information, contact us.

    Conditional metadata rules allow you to set up dependencies and hierarchical relationships between structured metadata fields and field options. This allows you to:

    • Enable/disable (show/hide) another metadata field based on the value selected for a metadata field.
    • Activate options displayed for a particular metadata field based on the value specified in another field.
    • Set the default metadata value in a particular field based on the value specified in another field.

    Some popular use cases for conditional metadata include:

    • High-level file type selection, for example: setting metadata fields on different types of content such as image, video and document.
    • Support segmenting into categories, for example: product imagery vs lifestyle photography.
    • Document asset usage rights, for example: stock imagery.
    • Support large organizations with multiple metadata schemas.

    For example, one of the metadata fields can include various category values for photos on a company intranet site, such as 'Employee', 'Conference', and 'Culture'. You could set up rules based on these values as follows:

    1. Selecting 'Employee' in the Category metadata field enables (displays) the Team metadata field with values such as 'R&D', 'Product' or 'HR'.
    2. Selecting 'R&D' for the Team metadata field enables the Role metadata field with values such as 'QA', 'Devops' or 'Backend'.
    3. Selecting 'QA' for the Role metadata field enables the Name metadata field with the members of the QA team: 'John Smith' or 'Jane Kelly'. If Devops had been selected for the Role metadata field, then the Name field would be enabled with members of the Devops team: 'Paul Green' or 'Mary Rose'.

    Adding rules

    You can add one or more rules to a field, and each rule can have one or more conditions and actions for more information.

    Note
    When you configure several rules on a single field, it's important to consider their order carefully because each subsequent rule can overwrite the actions of the rules before it. For example, one rule can add options to the field's multiple-selection list and another can remove or change them; one can show the field and another can hide it; one can add a default value and another can change it.
    1. From the Product Navigation menu, select Structured Metadata to open the Manage Structured Metadata page.

    2. Select the field whose behavior you want to set as a result of the condition you are adding. For example, if selecting the value Red from the Color field (condition) causes Pink and Maroon to be displayed in the Color shade field (result), then you should create the rule on the Color shade field.

      Note
      If you want this field to remain hidden unless a certain condition is met, enable Hide this field. If the field is hidden, it cannot initially be a mandatory field, and it cannot contain a default value. However, you can add a rule whose action displays the field, assigns it a default value, and / or makes it mandatory.
    3. In the right-hand panel, click Manage rules, then click Create a rule to open the Create Rule screen and enter a descriptive Rule name.

    4. Click Add condition and select the field and condition options that express your case.

      The condition is presented as a natural English sentence with the following structure:

      When the field you select Is empty or Is populated            OR Includes or Equals a value you select...
    5. Optionally, enter additional conditions and select Match one (OR) or Match all (AND).

    6. Click Add action to determine what happens to your selected field when the condition you set is met. The Action summary table describes the actions you can set and gives a sample use case for each one.

    Structured metadata rule creation

    Action summary table

    Action Description Use-case example
    Show field The dependent field is hidden by default and displayed if the condition is met. If the value of the Category field is Employee, the Department field is displayed.
    Hide field The dependent field is displayed by default and is hidden if the condition is met. The default value for the Country field is USA, and the State field appears. If the value of for the Country field is changed to England, the State field becomes hidden.
    Set field as mandatory The dependent field becomes mandatory. All assets can optionally receive an Expiration date, but If the asset's Copyright field is set to Yes, then the Expiration date field becomes mandatory.
    Set field as optional The dependent field becomes optional. Color is crucial to track for most assets and is therefore set to mandatory by default, unless the asset's Category is Oldies, in which case Color is not always a factor, so the Color field can be set to optional.
    Set default value(s) A default value is set for the dependent field. This condition can be used with the Show field action. For example, the value Employee is chosen from the field Category, causing the Department field to be displayed. When the field is displayed, it's assigned a default value, R&D.
    Append values Automatically sets one or more values to the dependent field and displays them as selected (only if the user hasn't made a selection manually). If the value Snow is selected for the Category field, the option Winter campaign is appended to the Campaign field, and is displayed as a selected value in that field.
    Show all options All available options of a single or multiple-selection list in the dependent field are displayed, when some of the options configured for the list may have previously been hidden. When Usage Rights is set to Public, the asset can be displayed in all possible Venues, as opposed to when Usage Rights is set to Internal and a limited number of Venues are available.
    Show no options Clears all available options in a single or multiple-selection list in the dependent field. This is useful when you want to start with an empty list and add displayed values as conditions are met. The Color Shades field is initially cleared using the Show no options action. When the color Blue is selected from the Color field, the Color Shades: Light Blue and Navy options are displayed using the Show the following additional options... action. When the color Red is added, red Color Shades options are additionally displayed.
    Show only the following options... Defines the available options in the single or multiple-selection list in the dependent field. The Roles field displays different options based on the Department chosen.
    Show the following additional options... Additional options (that may have been hidden) are added to the single or multiple-selection list in the dependent field. Certain core Categories of images are used all year round, but in Summer the category Swimwear is added.

    Viewing and updating rules

    To view and update rules:

    1. From the Product Navigation menu, select Structured Metadata to open the Manage Structured Metadata page.
    2. If a field has a rule already configured, Has rules appears in the field description. Select the field whose rules you want to view or update and click Manage rules. A summary of the configured rules for that field appears.
    3. Click Edit and make changes to a rule. Drag and drop the rule to its desired position.

    Structured metadata rule summary

    Conditional metadata rule considerations

    • You can add multiple conditions to determine a specific action. For example, you may want a specific list of Videographers to appear only if the value for the File type field is Video and the value for the Category field is Nature.

      If your action depends on multiple conditions, you can select Match one (OR) to apply the action when ANY one of the conditions are met, or Match all (AND) to apply the action only when ALL of the conditions are met.

    • Actions are grouped according to their similar functions. (Show field is grouped with Hide field, Set field as mandatory is grouped with Set field as optional, etc.) You can only add one action from the same group in a single rule. For example, if you've already added Show only the following options..., you won't be able to also add Show the following additional options.... However, you can add a new rule to the field to set the desired action.

    • From the Manage Structured Metadata page, order your fields hierarchically so that when dependent fields appear, they are displayed directly below the fields they depend on.

    • When users update metadata in bulk, values in dependent fields may be automatically deleted if values of fields that they depend on are changed.

    • A field that has dependencies can't be deleted.

    Note
    Structured metadata is always available to the user for viewing and setting. However, you can hide contextual metadata from the user's view in the Media Library Preferences.

    View and add metadata values

    You can view and add metadata values via the Metadata tab of the asset Manage page. In particular:

    • View or update the asset's custom metadata, including tags, structured metadata, and contextual metadata.
    • View the asset's embedded metadata (such as the EXIF data stored with photos).

    To open the Asset Management Metadata tab, either double-click the asset or select Open from the asset (3-dots) options menu, and select the Metadata tab.

    Asset Management Metadata tab

    Metadata notes and tips

    • The tags shown in this tab include both tags that were added manually and any tags that were automatically generated by auto-tagging add-ons, either programmatically, during upload as defined by an upload preset or via the Analysis tab.
    • You can copy all the tags from one asset and paste them in another.
    • Depending on the Media Library preferences set for your product environment, this tab may show both structured and contextual metadata, or it may only show one or the other of these.

      • Structured metadata fields are defined globally for the product environment. Users with edit permissions for the asset can update the values in this tab.
      • Contextual metadata fields are defined individually for each asset. Users with edit permissions for the asset can add or remove fields and values.

      For more details, see Custom metadata.

    • When you add, remove, or change the values in any editable section of the Metadata tab, the section is marked as Editing... and the Save button becomes enabled. When you're finished with changes to that section, you should save your changes. If you try to close the browser tab or navigate to another area of the Media Library or Console, you'll be prompted to save your changes.

      If you decide to to close the tab or navigate away without saving, all changes to unsaved metadata sections will be reverted to their previous state.

    • You can bulk update structured metadata, either directly from the Media Library or by importing a CSV file. You can also bulk update tags and contextual metadata from the Media Library.

    • For assets with long lists of embedded metadata, you can use the Filter data box to find the type of embedded metadata you're looking for. Additionally, depending on the Media Library preferences set for your product environment, it's possible that only a select set of embedded metadata fields will be included in the list.

    Bulk update structured metadata from a CSV file

    You can update your assets' structured metadata in bulk by importing a CSV file that contains all the assets and field value changes you want to make. You can update up to 10,000 assets in a single import.

    To bulk update structured metadata, follow these steps:

    1. Prepare your CSV file
    2. Import your CSV file and update.

    Step 1 - Prepare your CSV file

    To prepare your own CSV file, first download the CSV file containing your current metadata using the Export Metadata DAM app, then change any of the values you want to update in the file:

    1. Select the assets you want to update, then select Export Metadata from the assets toolbar.

      Export Asset Metadata DAM app
      Note
      If the Export Asset Metadata DAM app isn't accessible in the assets toolbar, an administrator can enable it from the App Marketplace page of the Console. For more information, see Dam Apps.
    2. From the Export Asset Metadata dialog box, select the required identifier fields:
      • If you want to use the asset's public ID as the identifier, you must select all three fields, Public ID, Asset Type, and Delivery Type, but NOT the Asset ID field.
      • If you want to use asset ID as the identifier, you must select the Asset ID field but NOT the Public ID, Asset Type, and Delivery Type fields.
    3. Select any structured metadata fields you want to update.
    4. Export your CSV file.
    5. Edit the field values in the CSV file that you want to update. Fields that are left blank won't be updated.

    Alternatively, prepare a CSV file on your own:

    1. Click the (3-dots) options menu at the top right of the Media Library and select Bulk Update Metadata.

      Media Library (3-dots) options menu
    2. Download the sample file containing the required unique asset identifier column(s) that you want to use, either publicId or assetId.
    3. Edit the CSV file:
      • Add columns that map to the structured metadata fields you want to update.
      • Fill in the CSV file with the relevant asset details. Fields that are left blank won't be updated.

    CSV file requirements:

    In order for the import and update to succeed, the CSV file must contain:

    • Columns that map to and have the same name as the asset's unique identifier. Include only one of the following sets of columns in your CSV file, either:
      • assetId

        OR
      • publicId together with assetType and deliveryType
    • Additional columns that map to existing structured metadata fields.
      Note
      Make sure your CSV file contains only columns that correspond to one of the asset identifier sets, i.e., either assetId OR publicId, assetType and deliveryType, and structured metadata fields. Any extra columns, or duplicated columns, will cause the import to fail.
    • Rows that represent up to 10,000 assets, without duplicates.

    For the asset to update successfully, its row must contain:

    • A valid value in the column(s) that map to the asset's unique identifier.
    • A unique identifier that matches an existing asset.
    • A valid value for each structured metadata field column, e.g., a column that maps to a structured metadata field of type date must contain a date in the required format (YYYY-MM-DD).

    When metadata rules are applied to your schema:

    • Verify that your CSV file includes necessary parent columns according to the conditional rules. For any particular row, populate these parent columns with values that satisfy the condition in the specified conditional rule. This step is necessary to enable adding values in the dependent fields.

      For instance, if a metadata rule allows entry of states only when the United States is chosen, in your CSV file, you can input CA and PA into the State column for a specific row only if the Country column for that row exists and contains USA. For more information, see Managing conditional metadata rules.

    Step 2: Import your CSV file and update your asset metadata

    If you haven't yet opened the bulk update, click the (3-dots) options menu at the top right of the Media Library and select Bulk Update Metadata.

    Media Library (3-dots) options menu

    Import your CSV file and run the update.

    An email will be sent to you when the update is complete, containing a full report of the asset metadata. This report will show values for all the assets and metadata fields that had been listed in the CSV file, including values that were and weren't updated, and any errors that may have occurred.

    ✔️ Feedback sent!

    ✖️  
    How helpful was this doc page?

    Thanks for submitting your rating. We got it!
    We'd love to hear more. Tell us what you liked and how we can make this page even better:

    *


    Cloudinary is committed to protecting your information security. For details, see our privacy policy.

    For additional assistance, open a support request.

    Error

    Unfortunately there's been an error sending your feedback.

    Rate this page:

    • Managing upload presets in the DAM
    • Asset management
    Cloudinary Logo - White
    Products
    • Programmable Media
    • DAM
    • Demos
    • Pricing
    • Roadmap
    • FAQ
    Solutions
      • Why Cloudinary
      • Video API
      • E-commerce
      • Retail
      • Media & Entertainment
      • Travel & Hospitality
      • Non-Profits
      • Our Customers
      • Resource Library
      Developers
      • Getting Started
      • Documentation
      • Community
      • SDKs
      • Add-ons
      • Podcasts
      Company
      • About Us
      • Customers
      • Partners
      • Events
      • Careers
      • Newsroom
      • Blog
      • Brand Assets
      • Trust
      Contact Us
      • Technical Support
      • Contact Sales
      • Education & Training
      • Institute of Quality & Control
      • GDPR
      • SOC
      • Forbes Best Startup Employers 2020
      • MarTech Breakthrough Awards
      • Best Places to Work SVBJ 2018
      • 2020 The World's Best Cloud Companies
      • Terms of Use
      • Privacy Policy
      • DMCA Notice

      © 2024 Cloudinary. All rights reserved.

      B #168