---
schema_version: "1"
id: 2caa9f4964daa55f88f883aa94ec997f500fc29138cfd24d75d3bb99ffe4e49b
title: Access the Metadata Editor
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/studio/access-metadata-editor-task.md
canonical_url: https://docs.mulesoft.com/studio/access-metadata-editor-task
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 7c27766000ab47e68cc7670579d402cff3d4ef64936cb5669ea1245f3c9e49da
description: MuleSoft Documentation Site
latest: true
---
---
product: Studio
---

# Access the Metadata Editor

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

Open the Metadata Editor in Anypoint Studio from a component’s Metadata tab, the Transform Message
component, or the Package Explorer view. Use the editor to define the metadata of your payload,
attributes, and variables.

## Metadata Tab

1.  Select a component in your canvas to display its Mule Properties view.

2.  Select the Metadata tab on the component’s Mule Properties view.

3.  Click the Add Metadata button to start defining the metadata of your payload, attributes, and
    variables.

4.  Select the Mule event component to which you want to define metadata.

5.  Click the Edit icon ![Edit icon](/mulesoft/current/en-us/studio/_images/access-metadata-editor-task-93b19.png) to open the
    Metadata Editor.

For example, this is the metadata tab for an HTTP Listener source:

![The metadata tab highlighted displaying the metadata of a flow](/mulesoft/current/en-us/studio/_images/access-metadata-editor-task-320a3.png)

> [!NOTE] If you edit inbound endpoint metadata, you can define outbound metadata.

## Transform Message Component

1.  Select a Transform Component in your canvas to display its Mule Properties view.

2.  Click the Define Metadata link in either the input or output columns of the component, depending
    on the metadata you want to define.  
    If the previous component in your flow is already defining output metadata, the input section of
    the Transform Component already recognizes it. You can right click the payload field and select
    Set Metadata.

    ![The set metadata option highlighted in a transform message component](/mulesoft/current/en-us/studio/_images/access-metadata-editor-task-b0be6.png)

When you set metadata for a Transform Message component, you can select a checkbox to wrap elements
in a collection. Selecting the wrap-elements option sets the metadata as a list, where each element
on the list is an instance of the structure you defined. So for example, if you set your metadata as
an XML structure and click this checkbox, metadata shows as a list that contains N instances of that
XML structure.

## Package Explorer View

1.  Select **Window > Show View > Package Explorer** if the package explorer isn’t already
    displayed.

2.  Right click a project in the Package Explorer view.

3.  Select **Mule > Manage Metadata Types**.

## See Also

- [Create a Metadata Class](https://docs.mulesoft.com/studio/create-metadata-class-task)

- [Define Input and Output Structure of a Transformation](https://docs.mulesoft.com/mule-runtime/latest/transform-input-output-structure-transformation-studio-task)
