# Options for custom data

Options for custom data expand what your metafields and metaobjects can do in your store.

## List of options available for metaobjects

The following options are available for metaobjects:

<table>
  <caption>List of options available for metaobjects.</caption>
  <thead>
     <tr>
        <th scope="col" style="width: 20%">Option</th>
        <th scope="col" style="width: 30%">Availability</th>
        <th scope="col" style="width: 50%">Description</th>
     </tr>
  </thead>
   <tbody>
    <tr>
        <td scope="row"><strong><a href="https://help.shopify.com/en/manual/reports-and-analytics/shopify-reports/report-types/custom-reports/filter-and-edit.md#metaobjects">Filter or group data in Analytics</a></strong></td>
        <td>Metaobjects</td>
        <td>Allows you to use the fields of your metaobject as dimensions or filters in your Shopify reports, when the metaobject is referenced by a metafield on a product, variant, customer, or order. Learn more about <a href="https://help.shopify.com/en/manual/reports-and-analytics/shopify-reports/report-types/custom-reports/filter-and-edit.md">filtering and editing your Shopify reports</a>.</td>
    </tr>
    <tr>
        <td scope="row"><strong>Storefronts access</strong></td>
        <td>Metaobjects</td>
        <td>Allows you to use the metaobject in your Online Store either through Liquid or the Storefront API.</td>
    </tr>
    <tr>
        <td scope="row"><strong><a href="https://help.shopify.com/en/manual/custom-data/metaobjects/connecting-to-your-online-store/webpages.md">Publish entries as web pages</a></strong></td>
        <td>Metaobjects</td>
        <td>Allows you to use the metaobject to build a theme template for a web page. You need <strong>Storefront access</strong> selected for this option.</td>
    </tr>
    <tr>
        <td scope="row"><strong>Active-draft status</strong></td>
        <td>Metaobjects</td>
        <td>Entries can transition between active and draft publishing states.</td>
    </tr>
    <tr>
        <td scope="row"><strong><a href="https://help.shopify.com/en/manual/international/languages.md">Translations</a></strong></td>
        <td>Metaobjects</td>
        <td>Entries can be translated into different languages.</td>
    </tr>
    <tr>
        <td scope="row"><strong>Use as a filter in metaobject index</strong></td>
        <td>Metaobject fields of the following types:
         <ul>
            <li>Single line text / Single line text (list)</li>
            <li>Product reference / Product reference (list)</li>
            <li>True or false</li>
            <li>Collection reference / Collection reference (list)</li>
            <li>Page reference / Page reference (list)</li>
            <li>Metaobject reference / Metaobject reference (list)</li>
         </ul>
        </td>
        <td>Allows you to use a field of your metaobject to filter in the metaobject index. You can activate this option for a maximum of 50 metaobject field definitions.</td>
    </tr>
  </tbody>
</table>

## List of options available for metafields

The following options are available for metafields:

<table>
  <caption>List of options available for metafields.</caption>
  <thead>
     <tr>
        <th scope="col" style="width: 20%">Option</th>
        <th scope="col" style="width: 30%">Availability</th>
        <th scope="col" style="width: 50%">Description</th>
     </tr>
  </thead>
  <tbody>
     <tr>
        <td scope="row"><strong>Storefronts access</strong></td>
        <td>All metafield types</td>
        <td>Allows you to use the metafield in your Online Store either through Liquid or the Storefront API.</td>
     </tr>
     <tr>
        <td scope="row"><strong><a href="https://help.shopify.com/en/manual/reports-and-analytics/shopify-reports/report-types/custom-reports/filter-and-edit.md#metafields">Filter or group data in Analytics</a></strong></td>
        <td>Products, Variants, Customers, and Orders metafields:
         <ul>
            <li>Single line text / Single line text (list)</li>
            <li>Multi-line text / Multi-line text (list)</li>
            <li>Integer / Integer (list)</li>
            <li>Decimal / Decimal (list)</li>
            <li>Product reference</li>
            <li>True or false</li>
            <li>Date / Date and time</li>
            <li>URL</li>
            <li>Color</li>
            <li>ID</li>
            <li>Rating</li>
         </ul></td>
        <td>Allows you to use the metafield as a dimension or filter in your Shopify reports. Learn more about <a href="https://help.shopify.com/en/manual/reports-and-analytics/shopify-reports/report-types/custom-reports/filter-and-edit.md">filtering and editing your Shopify reports</a>.</td>
     </tr>
     <tr>
        <td scope="row"><strong><a href="https://help.shopify.com/en/manual/custom-data/metafields/filtering-products.md">Use as a filter in product index</a></strong></td>
        <td>Product metafields:
         <ul>
            <li>Single line text / Single line text (list)</li>
            <li>Product reference / Product reference (list)</li>
            <li>True or false</li>
            <li>Collection reference / Collection reference (list)</li>
            <li>Page reference / Page reference (list)</li>
            <li>Metaobject reference / Metaobject reference (list)</li>
         </ul>
        </td>
        <td>Allows you to use the metafield to filter in the product index. You can activate this option for a maximum of 50 metafield definitions.</td>
     </tr>
     <tr>
        <td scope="row"><strong><a href="https://help.shopify.com/en/manual/fulfillment/managing-orders/viewing-orders/filtering-orders-with-metafields.md">Use as a filter in orders index</a></strong></td>
        <td>Order metafields:
         <ul>
            <li>Single line text / Single line text (list)</li>
            <li>ID</li>
            <li>True or false</li>
            <li>Article reference / Article reference (list)</li>
            <li>Collection reference / Collection reference (list)</li>
            <li>Company reference / Company reference (list)</li>
            <li>Metaobject reference / Metaobject reference (list)</li>
            <li>Page reference / Page reference (list)</li>
            <li>Product reference / Product reference (list)</li>
         </ul>
         You can use order metafield definitions of many other types to filter orders only in the Admin API, not on the <strong>Orders</strong> page. Learn more about <a href="https://help.shopify.com/en/manual/fulfillment/managing-orders/viewing-orders/filtering-orders-with-metafields.md">filtering orders using order metafields</a>, including the name of the filtering option for each type.
        </td>
        <td>Allows you to use the metafield to filter in the orders index. You can activate this feature for a maximum of 5 metafield definitions.</td>
     </tr>
     <tr>
        <td scope="row"><strong><a href="https://help.shopify.com/en/manual/b2b/companies-and-customers/filtering-companies.md">Use as a filter in company index and company location index</a></strong></td>
        <td>Company and company location metafields:
         <ul>
            <li>Single line text / Single line text (list)</li>
            <li>Product reference / Product reference (list)</li>
            <li>True or false</li>
            <li>Collection reference / Collection reference (list)</li>
            <li>Page reference / Page reference (list)</li>
            <li>Metaobject reference / Metaobject reference (list)</li>
         </ul>
        </td>
        <td>Allows you to use the metafield to filter in the company and company location index pages. You can activate this feature for a maximum of 50 metafield definitions.</td>
     </tr>
     <tr>
        <td scope="row"><strong><a href="https://help.shopify.com/en/manual/custom-data/metafields/collections.md">Use as a condition in collections</a></strong></td>
        <td>Product metafields and variant metafields:
         <ul>
            <li>Single line text</li>
            <li>Single line text (list)</li>
            <li>True or false</li>
            <li>Integer</li>
            <li>Decimal</li>
            <li>Rating</li>
            <li>Metaobject reference</li>
            <li>Metaobject reference (list)</li>
         </ul>
        </td>
        <td>Allows you to use the metafield as a condition in collections. You can activate this feature for a maximum of 128 product metafield definitions and 128 variant metafield definitions.</td>
     </tr>
     <tr>
        <td scope="row"><strong>Customer account access</strong></td>
        <td>Customer account metafields:
         <ul>
            <li>Customers</li>
            <li>Company</li>
            <li>Company location</li>
            <li>Orders</li>
         </ul>
        </td>
        <td>Definition is available through the Customer Account API.</td>
     </tr>
  </tbody>
</table>

## Activate or deactivate options

You can edit the feature options for metafields or metaobjects at any time.

<aside class="note"><h4>Note</h4><p>If you select <strong>Publish entries as web pages</strong>, then <strong>Enable in Online Store</strong> is selected by default. If you have a Hydrogen storefront, then deselect <strong>Enable in Online Store</strong>.</p>
</aside>

#### Steps:

1. From your Shopify admin, go to **Settings** > [**Metafields and metaobjects**](https://admin.shopify.com/settings/custom_data).


2. Click the part of your store that has the custom data that you want to change the features for.
3. Click the custom data type.
4. In the **Options** section of the metafield or metaobject, select or deselect the feature options available.
5. Click **Save**.
