# Custom Data

**URL:** https://community.shopify.dev/c/custom-data/10.md

[Latest](https://community.shopify.dev/latest.md) · [Categories](https://community.shopify.dev/categories.md) · [Tags](https://community.shopify.dev/tags.md)

---

## [Welcome to the Custom Data Board!](https://community.shopify.dev/t/welcome-to-the-custom-data-board/98)

<div class="topic-metadata">

**Author:** [@Liam-Shopify](https://community.shopify.dev/u/Liam-Shopify)\
**Replies:** 0\
**Last updated:** [October 7, 2024, 7:08am UTC](https://community.shopify.dev/t/welcome-to-the-custom-data-board/98 "2024-10-07T07:08:50Z")

</div>

Welcome to the Custom Data board! This space is dedicated to supporting developers who are working with metafields and metaobjects in Shopify apps and themes. Whether you’re just starting to extend Shopify’s data models …

---

## [About the Custom Data category](https://community.shopify.dev/t/about-the-custom-data-category/20)

<div class="topic-metadata">

**Author:** [@Liam-Shopify](https://community.shopify.dev/u/Liam-Shopify)\
**Replies:** 0\
**Last updated:** [August 7, 2024, 1:03pm UTC](https://community.shopify.dev/t/about-the-custom-data-category/20 "2024-08-07T13:03:13Z")

</div>

Conversations about creating, managing, and using metafields and metaobjects to store and retrieve custom data for apps and themes.

---

## [Unable to set a file\_reference metafield to an EXTERNAL\_VIDEO file](https://community.shopify.dev/t/unable-to-set-a-file-reference-metafield-to-an-external-video-file/12138)

<div class="topic-metadata">

**Author:** [@Daniel\_Ablestar](https://community.shopify.dev/u/Daniel_Ablestar)\
**Replies:** 3\
**Last updated:** [November 25, 2026, 6:24pm UTC](https://community.shopify.dev/t/unable-to-set-a-file-reference-metafield-to-an-external-video-file/12138 "2026-11-25T18:24:08Z")

</div>

Hello, When I try to set a file\_reference metafield to a value like gid://shopify/ExternalVideo/28048706568273 I get the following error: Value must be a file reference string but elsewhere in the API external videos ar…

---

## [Sidekick can't query analyticsQueryable order metafields in an app-reserved ($app) namespace](https://community.shopify.dev/t/sidekick-cant-query-analyticsqueryable-order-metafields-in-an-app-reserved-app-namespace/39818)

<div class="topic-metadata">

**Author:** [@arito](https://community.shopify.dev/u/arito)\
**Replies:** 2\
**Last updated:** [November 20, 2026, 10:44am UTC](https://community.shopify.dev/t/sidekick-cant-query-analyticsqueryable-order-metafields-in-an-app-reserved-app-namespace/39818 "2026-11-20T10:44:18Z")

</div>

Hi all, I’m building a public app that writes a boolean order metafield so merchants can segment a subset of orders in Shopify Analytics and ask Sidekick about them. With the analyticsQueryable capability, the metafield…

---

## [Metaobject translation import fails for variants](https://community.shopify.dev/t/metaobject-translation-import-fails-for-variants/27515)

<div class="topic-metadata">

**Author:** [@Vera\_Auflauf](https://community.shopify.dev/u/Vera_Auflauf)\
**Replies:** 2\
**Last updated:** [November 19, 2026, 12:03pm UTC](https://community.shopify.dev/t/metaobject-translation-import-fails-for-variants/27515 "2026-11-19T12:03:05Z")

</div>

Hi Shopify, I’m not sure if this is the correct topic to raise this issue because this is a bug with the import for Metaobject translations. If I should report this somewhere else, please let me know. The issue I’m exp…

---

## [Customer metafield definitions segment filter limit](https://community.shopify.dev/t/customer-metafield-definitions-segment-filter-limit/39647)

<div class="topic-metadata">

**Author:** [@atreidesend](https://community.shopify.dev/u/atreidesend)\
**Replies:** 4\
**Last updated:** [November 13, 2026, 6:31pm UTC](https://community.shopify.dev/t/customer-metafield-definitions-segment-filter-limit/39647 "2026-11-13T18:31:15Z")

</div>

We are working on creating customer metafield definitions from our app so merchants can use them as segment filters. On a development store, at most 16 customer metafield definitions appear in segmentFilters at a time. …

---

## [How can an app create category metafield values (e.g. shopify--fabric) before the merchant has used them in the admin?](https://community.shopify.dev/t/how-can-an-app-create-category-metafield-values-e-g-shopify-fabric-before-the-merchant-has-used-them-in-the-admin/39640)

<div class="topic-metadata">

**Author:** [@Hidar\_Salloum](https://community.shopify.dev/u/Hidar_Salloum)\
**Replies:** 2\
**Last updated:** [November 13, 2026, 11:39am UTC](https://community.shopify.dev/t/how-can-an-app-create-category-metafield-values-e-g-shopify-fabric-before-the-merchant-has-used-them-in-the-admin/39640 "2026-11-13T11:39:36Z")

</div>

Hi! I’m building an app that helps merchants fill in category metafields (for example Fabric) from information they already wrote in their product data. Writing a value that already exists in the store works fine. The p…

---

## [Metaobject reference error](https://community.shopify.dev/t/metaobject-reference-error/37850)

<div class="topic-metadata">

**Author:** [@bkspace](https://community.shopify.dev/u/bkspace)\
**Replies:** 5\
**Last updated:** [November 10, 2026, 10:41pm UTC](https://community.shopify.dev/t/metaobject-reference-error/37850 "2026-11-10T22:41:32Z")

</div>

When attempting to upsert a metaobject, which is owned by Shopify (toml), we get a few odd behaviours: 1.) The failure: Failed to upsert metaobject for discount 1186074067033: \\\[{"field":\\\["handle","type"\\\],"message":"N…

---

## [App owned metaobject bug](https://community.shopify.dev/t/app-owned-metaobject-bug/26258)

<div class="topic-metadata">

**Author:** [@emilianoc](https://community.shopify.dev/u/emilianoc)\
**Replies:** 7\
**Last updated:** [November 10, 2026, 7:56pm UTC](https://community.shopify.dev/t/app-owned-metaobject-bug/26258 "2026-11-10T19:56:44Z")

</div>

hello , i’m using gql api on metaobject app owned and i run in a weird bug: create a metaobject definition (app owned) add a metaobject to the definition delete the app reinstall the app recreate the definition try t…

---

## [App owned Metaobject definitions in the TOML seem flakey](https://community.shopify.dev/t/app-owned-metaobject-definitions-in-the-toml-seem-flakey/37803)

<div class="topic-metadata">

**Author:** [@simon\_b](https://community.shopify.dev/u/simon_b)\
**Replies:** 19\
**Last updated:** [November 10, 2026, 5:04am UTC](https://community.shopify.dev/t/app-owned-metaobject-definitions-in-the-toml-seem-flakey/37803 "2026-11-10T05:04:30Z")

</div>

Hi team :waving\_hand: I’ve created an app owned metaobject definition in the TOML file which has been deployed to my development store and extension. When I query the metaobject definitions via GQL I can see it present …

---

## [Read-only metaobject JSON fields can no longer be expanded to view or copy (after Polaris admin update)](https://community.shopify.dev/t/read-only-metaobject-json-fields-can-no-longer-be-expanded-to-view-or-copy-after-polaris-admin-update/39328)

<div class="topic-metadata">

**Author:** [@Dhanush](https://community.shopify.dev/u/Dhanush)\
**Replies:** 3\
**Last updated:** [November 4, 2026, 3:19pm UTC](https://community.shopify.dev/t/read-only-metaobject-json-fields-can-no-longer-be-expanded-to-view-or-copy-after-polaris-admin-update/39328 "2026-11-04T15:19:54Z")

</div>

Since the recent Polaris update to the Shopify admin, read-only metaobject entries that contain large JSON values are truncated with “…” and can no longer be expanded. Before the update, clicking a long field opened the…

---

## [Cart validation functions can't see draft order metafields on draftOrderComplete](https://community.shopify.dev/t/cart-validation-functions-cant-see-draft-order-metafields-on-draftordercomplete/38775)

<div class="topic-metadata">

**Author:** [@Patrick\_Jakubik](https://community.shopify.dev/u/Patrick_Jakubik)\
**Replies:** 2\
**Last updated:** [October 29, 2026, 1:13am UTC](https://community.shopify.dev/t/cart-validation-functions-cant-see-draft-order-metafields-on-draftordercomplete/38775 "2026-10-29T01:13:44Z")

</div>

Hey folks We’ve hit something with cart validation functions and draft orders and wanted to check whether it’s expected or a gap. Since validation functions now run when a draft order is completed (via draftOrderComple…

---

## [Paginate on a list.metaobject\_reference metafield works for the custom namespace but returns only the first 50 for $app](https://community.shopify.dev/t/paginate-on-a-list-metaobject-reference-metafield-works-for-the-custom-namespace-but-returns-only-the-first-50-for-app/38496)

<div class="topic-metadata">

**Author:** [@farid](https://community.shopify.dev/u/farid)\
**Replies:** 1\
**Last updated:** [October 15, 2026, 11:26pm UTC](https://community.shopify.dev/t/paginate-on-a-list-metaobject-reference-metafield-works-for-the-custom-namespace-but-returns-only-the-first-50-for-app/38496 "2026-10-15T23:26:45Z")

</div>

I tested paginate on a list.metaobject\_reference product metafield from a theme app extension, on a development store, on 2026-10-10. This is a follow-up to topic 34188, where the advice was to split references across se…

---

## [Shopify Admin Redesign UX Issues](https://community.shopify.dev/t/shopify-admin-redesign-ux-issues/38581)

<div class="topic-metadata">

**Author:** [@meandillar](https://community.shopify.dev/u/meandillar)\
**Replies:** 4\
**Last updated:** [October 14, 2026, 8:33pm UTC](https://community.shopify.dev/t/shopify-admin-redesign-ux-issues/38581 "2026-10-14T20:33:07Z")

</div>

Although the new UI looks clean there have been some UX downgrades. Reordering lists of metaobject entries Viewing a metaobject entry directly from a list of metobject entries Reordering pinned apps An example - we ha…

---

## [How to accurately determine what variant is displayed by default without Liquid Part 2](https://community.shopify.dev/t/how-to-accurately-determine-what-variant-is-displayed-by-default-without-liquid-part-2/38503)

<div class="topic-metadata">

**Author:** [@sshaw](https://community.shopify.dev/u/sshaw)\
**Replies:** 4\
**Last updated:** [October 14, 2026, 5:48pm UTC](https://community.shopify.dev/t/how-to-accurately-determine-what-variant-is-displayed-by-default-without-liquid-part-2/38503 "2026-10-14T17:48:34Z")

</div>

This is a follow-up to How to accurately determine what variant is displayed by default without Liquid The recommended solution there was to use webhooks + server-side Storefront API calls to grab Product.selectedOrFirs…

---

## [Search page filters ignore metafield-only updates that are correctly reflected in collection page filters](https://community.shopify.dev/t/search-page-filters-ignore-metafield-only-updates-that-are-correctly-reflected-in-collection-page-filters/38425)

<div class="topic-metadata">

**Author:** [@abosworth](https://community.shopify.dev/u/abosworth)\
**Replies:** 1\
**Last updated:** [October 13, 2026, 12:03pm UTC](https://community.shopify.dev/t/search-page-filters-ignore-metafield-only-updates-that-are-correctly-reflected-in-collection-page-filters/38425 "2026-10-13T12:03:48Z")

</div>

We added a product metafield as a Search & Discovery filter and filled it in on every product through the Admin API. Collection pages filtered correctly within minutes. The search page didn’t: a product only showed up un…

---

## [Cart metafield sent in cartCreate input doesn't reach the order, but cartMetafieldsSet does](https://community.shopify.dev/t/cart-metafield-sent-in-cartcreate-input-doesnt-reach-the-order-but-cartmetafieldsset-does/38314)

<div class="topic-metadata">

**Author:** [@Prajwal\_Nayak](https://community.shopify.dev/u/Prajwal_Nayak)\
**Replies:** 1\
**Last updated:** [October 6, 2026, 3:21am UTC](https://community.shopify.dev/t/cart-metafield-sent-in-cartcreate-input-doesnt-reach-the-order-but-cartmetafieldsset-does/38314 "2026-10-06T03:21:26Z")

</div>

I want a cart metafield to end up on the order (Storefront API 2026-04, cart-to-order copy). I have an order metafield definition with cartToOrderCopyable enabled, type json, key my\_key. Works: after the cart exists, I …

---

## ["$app:" doesn't work in metaobject\_type for theme app extension settings](https://community.shopify.dev/t/app-doesnt-work-in-metaobject-type-for-theme-app-extension-settings/38192)

<div class="topic-metadata">

**Author:** [@Shane\_Stratton](https://community.shopify.dev/u/Shane_Stratton)\
**Replies:** 1\
**Last updated:** [October 1, 2026, 7:26am UTC](https://community.shopify.dev/t/app-doesnt-work-in-metaobject-type-for-theme-app-extension-settings/38192 "2026-10-01T07:26:08Z")

</div>

I was trying to use an app-owned metaobject declared in shopify.app.toml (e.g. \[metaobjects.app.xyz\]) as an input setting for an app block. When using $app:xyz, it gets denied by cli schema validation. The documentatio…

---

## [Multiple Barcode (box barcode and unit barcode)](https://community.shopify.dev/t/multiple-barcode-box-barcode-and-unit-barcode/24355)

<div class="topic-metadata">

**Author:** [@ukvk1313](https://community.shopify.dev/u/ukvk1313)\
**Replies:** 1\
**Last updated:** [September 16, 2026, 5:02pm UTC](https://community.shopify.dev/t/multiple-barcode-box-barcode-and-unit-barcode/24355 "2026-09-16T17:02:29Z")

</div>

We have products that come in multi packs each multipack has its own barcode and single variants have its own barcode. we have created metadefinitions to store box barcode and qty per box. struggling to find a way so …

---

## [Translate & Adapt doesn't list app-owned translatable metaobjects](https://community.shopify.dev/t/translate-adapt-doesnt-list-app-owned-translatable-metaobjects/36421)

<div class="topic-metadata">

**Author:** [@Tom\_h94](https://community.shopify.dev/u/Tom_h94)\
**Replies:** 5\
**Last updated:** [September 15, 2026, 11:38am UTC](https://community.shopify.dev/t/translate-adapt-doesnt-list-app-owned-translatable-metaobjects/36421 "2026-09-15T11:38:18Z")

</div>

We’ve created an app-owned metaobject definition ($app:product\_faq) with capabilities.translatable = true. The entries are translatable. Clicking Translate & Adapt from an individual metaobject entry opens the translat…

---

## [Cloning / Migrating Metafields between Shopify Stores](https://community.shopify.dev/t/cloning-migrating-metafields-between-shopify-stores/3614)

<div class="topic-metadata">

**Author:** [@Brian\_Gonzales](https://community.shopify.dev/u/Brian_Gonzales)\
**Replies:** 3\
**Last updated:** [September 9, 2026, 4:00pm UTC](https://community.shopify.dev/t/cloning-migrating-metafields-between-shopify-stores/3614 "2026-09-09T16:00:18Z")

</div>

Hi folks - does anyone have a good way to easily copy/clone/migrate Shopify Metafields from one site to another Shopify? Matrixify allows you to export your products, order, customer, etc but will Error out when it come…

---

## [Shopify CDN stripping IPTC metadata of images](https://community.shopify.dev/t/shopify-cdn-stripping-iptc-metadata-of-images/33886)

<div class="topic-metadata">

**Author:** [@Rolands\_Kundzins](https://community.shopify.dev/u/Rolands_Kundzins)\
**Replies:** 6\
**Last updated:** [September 4, 2026, 2:58pm UTC](https://community.shopify.dev/t/shopify-cdn-stripping-iptc-metadata-of-images/33886 "2026-09-04T14:58:03Z")

</div>

Hey, It seems like Shopify CDN strips IPTC metadata from images, but Google Merchant Center requires this metatada for AI generated images: Here is one image that I AI generated and that when I just download, it does…

---

## [Feature request: Metaobject link field with internal picker](https://community.shopify.dev/t/feature-request-metaobject-link-field-with-internal-picker/37371)

<div class="topic-metadata">

**Author:** [@Dries\_Pieters](https://community.shopify.dev/u/Dries_Pieters)\
**Replies:** 2\
**Last updated:** [September 3, 2026, 6:36pm UTC](https://community.shopify.dev/t/feature-request-metaobject-link-field-with-internal-picker/37371 "2026-09-03T18:36:35Z")

</div>

Hi there! To my surprise Metaobject fields link and url currently behave the same: they only accept full URLs and show a simple URL input. Unlike theme settings, there’s no internal link picker for products, collections…

---

## ["Failed to save remote metafield" error when updating Customer Metafield in Shopify POS](https://community.shopify.dev/t/failed-to-save-remote-metafield-error-when-updating-customer-metafield-in-shopify-pos/37155)

<div class="topic-metadata">

**Author:** [@GabrielTurnes](https://community.shopify.dev/u/GabrielTurnes)\
**Replies:** 4\
**Last updated:** [September 2, 2026, 4:45pm UTC](https://community.shopify.dev/t/failed-to-save-remote-metafield-error-when-updating-customer-metafield-in-shopify-pos/37155 "2026-09-02T16:45:22Z")

</div>

Hi everyone, I am encountering an issue while trying to update a customer metafield directly through the Shopify POS app. The Issue: When attempting to edit and save a specific customer metafield (in our case, a “CPF” …

---

## [Using Metaobject References in Notification Templates](https://community.shopify.dev/t/using-metaobject-references-in-notification-templates/37112)

<div class="topic-metadata">

**Author:** [@Ariel\_Lezen](https://community.shopify.dev/u/Ariel_Lezen)\
**Replies:** 2\
**Last updated:** [August 25, 2026, 6:18pm UTC](https://community.shopify.dev/t/using-metaobject-references-in-notification-templates/37112 "2026-08-25T18:18:42Z")

</div>

Metaobject references in notification templates We sell live nursery stock, seed potatoes, and bulbs, so ship date is a property of the product category rather than of the order. Someone buys an apple tree in January, bu…

---

## [Feature Request: Support tags on the Company object](https://community.shopify.dev/t/feature-request-support-tags-on-the-company-object/35896)

<div class="topic-metadata">

**Author:** [@Colby](https://community.shopify.dev/u/Colby)\
**Replies:** 3\
**Last updated:** [August 20, 2026, 10:31am UTC](https://community.shopify.dev/t/feature-request-support-tags-on-the-company-object/35896 "2026-08-20T10:31:52Z")

</div>

Hey Shopifolk – the Company object doesn’t support tags today, only metafields. Metafields work fine for structured data, but they don’t give the quick filtering/segmentation and bulk actions that tags do — e.g., bulk-ad…

---

## [\`list.metaobject\_reference\` metaobject field size limit](https://community.shopify.dev/t/list-metaobject-reference-metaobject-field-size-limit/36921)

<div class="topic-metadata">

**Author:** [@DanGamble](https://community.shopify.dev/u/DanGamble)\
**Replies:** 4\
**Last updated:** [August 20, 2026, 10:02am UTC](https://community.shopify.dev/t/list-metaobject-reference-metaobject-field-size-limit/36921 "2026-08-20T10:02:25Z")

</div>

Hey, Going off this it mentions there is a 128 limit for everything and the list.metaobject\_reference gets a 256 limit. However, this is referring to meta fields and not specifically metaobject fields although I suspect…

---

## [Customizer MetaObject Option Thumbnails](https://community.shopify.dev/t/customizer-metaobject-option-thumbnails/36903)

<div class="topic-metadata">

**Author:** [@ShopNative](https://community.shopify.dev/u/ShopNative)\
**Replies:** 1\
**Last updated:** [August 19, 2026, 2:22am UTC](https://community.shopify.dev/t/customizer-metaobject-option-thumbnails/36903 "2026-08-19T02:22:51Z")

</div>

What are the requirements for Shopify to display a preview on customizer metaobject selection options? The metaobject entries overview renders either color fields or image fields as thumbnails, however I can’t get…

---

## [Assistance Required for Extracting "Shop Campaigns Performance" Data via API](https://community.shopify.dev/t/assistance-required-for-extracting-shop-campaigns-performance-data-via-api/3576)

<div class="topic-metadata">

**Author:** [@Level\_Agency](https://community.shopify.dev/u/Level_Agency)\
**Replies:** 2\
**Last updated:** [August 12, 2026, 5:09pm UTC](https://community.shopify.dev/t/assistance-required-for-extracting-shop-campaigns-performance-data-via-api/3576 "2026-08-12T17:09:05Z")

</div>

I am seeking guidance on extracting data from the “Shop Campaigns Performance” analytics report, which details daily ad spend, for my store where Shop Pay is installed. Specifically, I would like to know which API endpoi…

---

## [Support app-owned, non-public (access-controlled) files on the Shopify CDN](https://community.shopify.dev/t/support-app-owned-non-public-access-controlled-files-on-the-shopify-cdn/36396)

<div class="topic-metadata">

**Author:** [@Charlie\_Tyler](https://community.shopify.dev/u/Charlie_Tyler)\
**Replies:** 2\
**Last updated:** [July 29, 2026, 3:42pm UTC](https://community.shopify.dev/t/support-app-owned-non-public-access-controlled-files-on-the-shopify-cdn/36396 "2026-07-29T15:42:59Z")

</div>

TL;DR The ask: A way for apps to store images and PDFs on Shopify’s CDN that are (a) app-owned/app-scoped (not dumped into the merchant’s Files library) and (b) not publicly accessible - retrieved via short-lived signe…

[Next page](https://community.shopify.dev/c/custom-data/10.md?page=1)
