Some features described on this page are only available as part of certain Box packages and add-ons. To upgrade your account, contact your Box account team.
- Enforcing uniformity across metadata application on files
- Advanced search on specific metadata attribute values
- Creating views and filters in Box Apps
- Driving workflows in Box Automate
- A SQL-like query API that supports logical operators
Creating metadata templates
- Go to Admin Console > Metadata.
- Select New.
- Fill in the Template Name field.
- Use the toggle to decide if the template should be Hidden from managed users.
- Under Add your first field to the Template, select a field type you want to create.
- Provide a name for the attribute by typing in the Field Name input.
- Use the Description field to incorporate additional information about the attribute.
- Select Add Field to add additional attributes.
- Select Save.
- Text: free-form text entry
- Number: numeric values
- Date: date values
- Dropdown: a predefined list of options for users to choose from
- Taxonomy: hierarchical metadata values defined through metadata taxonomies
If you select Dropdown, you can determine options for your managed users to choose from. Type an option into the Options field and select Add Option to add additional options.
There are limits to the number of templates, attributes, and items you can create when working with metadata templates. Review the template limits section below for more information.
Creating templates from Box Extract
Admins and Co-Admins can also create metadata templates directly in Box Extract when creating or configuring a Custom Extract Agent. From the Extract configuration page, you can:- Generate a template with Box AI: Box AI analyzes files in your source folders and generates a template with relevant fields. Generating a template with Box AI is a paid feature that uses premium models. See Box AI pricing for details.
- Create a template manually: add fields one at a time using the same field types available in the Admin Console (text, number, date, dropdown, taxonomy).
- Use an existing template: select from templates already configured in the Admin Console.
Editing metadata templates
- Go to Admin Console > Metadata. A list of metadata templates displays.
- Select the template you want to edit.
- Make any desired changes.
- Select Save.
If a metadata template or attribute is associated with an active retention policy, you cannot delete the template, attribute, or dropdown option until you have retired the retention policy.
Deleting metadata templates
Admins and Co-Admins cannot delete metadata templates from the Admin Console. To delete a template, use the Metadata Template Deletion API. Deleting a template also deletes all metadata instances of that template across your files. This action cannot be undone.If a metadata template or attribute is associated with an active retention policy, you cannot delete the template, attribute, or dropdown option until you have retired the retention policy.
Hiding metadata templates
If you have templates that you want to hide from users, whether you are still developing a template or want it available only through the API, you can hide them from managed users:- Go to Admin Console > Metadata. A list of metadata templates displays.
- Select the template you want to hide.
- Enable the Hide template from users switch.
Template limits
Keep these limits in mind when creating metadata templates for your enterprise:
The maximum metadata instance size limit is the combined size of all values in a metadata instance. For user experience purposes, we recommend having a smaller set of metadata attributes and values. By following the architecture guidelines below, you should not hit the 512KB metadata instance size limit.
Architecture options
Option 1: Standard metadata
Option 2: Many dropdown options
Option 3: Larger field values
Option 4: Many fields
If you have your own custom configuration, you can roughly compute your maximum metadata size as:
8 * [(# chars in metadata attribute key) + (# chars in metadata attribute value)]