Two way metaobject reference

Topic summary

Admin UI prevents creating two-way links between Shopify metaobjects (custom data records used in Online Store pages).

Behavior: If a metaobject already appears in “referenced by,” its checkbox can’t be selected to add a reciprocal reference, blocking bi-directional relationships. A linked video demonstrates this limitation.

Status: A Shopify representative confirmed this is a bug and has engaged the Custom Data product team to improve the experience to allow multiple references. No fix or timeline has been provided yet.

Workaround: The poster is temporarily looping through all metaobjects of a type and matching on a field to infer the inverse link, noting this may not scale.

Next steps: No updates so far; users are advised to monitor the public developer changelog (shopify.dev/changelog).

Resolution: Unresolved and open pending a platform fix.

Summarized with AI on January 13. AI used: gpt-5.

I doing some work on a client store, where I’m creating some new metaobjects, to take advantage of the new online store pages for them (which is great!).

However I have two metaobjects that I want to link bi-directionally, but the admin UI doesn’t seem to allow me to select the second object if it is already referenced in the other direction.

Example of the behaviour - https://www.youtube.com/watch?v=T9ndYlBmQaI

Notice how when an object is in the “referenced by” section, it won’t check the box when trying to reference it.

Can’t find anywhere in docs, that this is a limitation, is it a bug?

1 Like

Hi StephenK,

Thanks for flagging this bug - I’ve connected with the custom data product team on this and they’;; work to improve this experience so that you can create multiple references like this.

1 Like

Ok that’s cool, I’ll bench the work until the bug is fixed.

I have a short term workaround of looping through all of a type of meta object and checking for a field that matches, instead (which might not scale, but hopefully the bug is fixed by then).

Has there been any update to this?

No update as of yet Stephen - the best thing to do would be to keep an eye on our developer changelog: https://shopify.dev/changelog

1 Like