---
schema_version: "1"
id: 7bddea08bd8ecaa9b42f2ae245c78d5b0518c4e811060a55e76a01aca3b0bd87
title: Managing Custom Metadata
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/anypoint-code-builder/int-manage-custom-metadata.md
canonical_url: https://docs.mulesoft.com/anypoint-code-builder/int-manage-custom-metadata
source_site: docs.mulesoft.com
content_type: documentation
content_hash: b855e1c9471bf447fa24d2bb069f234bdc18d418984807fb1a515771c811eb25
description: MuleSoft Documentation Site
latest: true
---
---
product: Anypoint Code Builder
version: master
---

# Managing Custom Metadata

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Define and assign custom metadata to accurately represent your organization’s unique data structures
within your integration projects. Create metadata for inputs and outputs using common formats so
your data transformations stay accurate. Custom metadata connects your visual development tools to
your data requirements, facilitating easier testing and workflow creation.

![Custom Metadata tab on the Project Properties page](/mulesoft/current/en-us/anypoint-code-builder/_images/int-custom-metadata-project-prop.png)

## Supported Metadata Types

Anypoint Code Builder supports these metadata types:

- CSV

- Copybook

- Excel

- Fixed Width

- Flat File

- JSON

- Object

- Simple type

- XML

## Create Custom Metadata

To create custom metadata:

1.  Click **Create New**.

2.  Enter a unique name for the metadata.

3.  Select the metadata type, such as CSV, JSON, or XML.

4.  Add additional required details for the metadata, depending on the type selected, such as the
    definition or source type, schema, and class. You must also upload a sample file for some
    metadata types.

5.  Select to wrap the element in a collection, which converts the custom metadata into an array.
    The enrichment element in the `application-types.xml` file is updated automatically with the
    conversion.

6.  Click **Save and Close**.

The custom metadata is stored in the `application-types.xml` file in your project’s resources
folder. Sample files and custom metadata created in Anypoint Code Builder are compatible with
Anypoint Studio and vice versa.

![int application types file](/mulesoft/current/en-us/anypoint-code-builder/_images/int-application-types-file.png)

> [!NOTE] To apply custom metadata to a component, add or open the component in the canvas and then
> apply the metadata using the custom metadata options from the Metadata tab, **Expression
> Builder**, or **Transformation Builder**. For more information, see
> [Set Custom Metadata on the Metadata or Data Tab](https://docs.mulesoft.com/anypoint-code-builder/int-configure-dw-expressions#set-component-custom-metadata-on-metadata-or-data-tab)
> and see
> [Set Custom Metadata in Transformation Builder](https://docs.mulesoft.com/anypoint-code-builder/int-configure-dw-expressions#set-custom-metadata-in-transformation-builder).

## Edit Custom Metadata

To edit custom metadata, click the three dots next to the source file and then click **Edit**. Make
your changes and then click **Save and Close**. The changes are applied to all components that use
the custom metadata.

## Preview Custom Metadata

To preview custom metadata, click the name of the metadata. The preview shows the metadata in the
selected format.

## Delete Custom Metadata

To delete custom metadata from the **Custom Metadata** tab, click the three dots next to the source
file and then click **Delete**. The metadata is deleted from all components that use it.

You can also delete custom metadata when editing by clicking **Delete Custom Metadata** from the
three dots menu.

## Custom Metadata in MuleSoft Vibes

MuleSoft Vibes provides full support to create, delete, fetch, or edit custom metadata for CSV,
Copybook, Excel, fixed width, flat file, JSON, Java, simple type, and XML metadata types.

## See Also

- [Set Component Custom Metadata on the Metadata or Data Tab](https://docs.mulesoft.com/anypoint-code-builder/int-configure-dw-expressions#set-component-custom-metadata-on-metadata-or-data-tab)

- [Set Custom Metadata in Transformation Builder](https://docs.mulesoft.com/anypoint-code-builder/int-configure-dw-expressions#set-custom-metadata-in-transformation-builder)
