Conversations about creating, managing, and using metafields to store and retrieve custom data for apps and themes.
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?
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.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
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
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog