Answers from the community about Reference

Some of the conversations between community members on questions, suggestions and tips for using Sanity. Join our Discord to be a part of it.

TopicCategoriesFeaturedRepliesLast Updated
Understanding the usage of `...` in a Groq query and troubleshooting issues with querying data in Sanity.io16Feb 8, 2021
Why are images returning with only _ref in their assets?10Feb 3, 2021
Dropdown choice between string and image types in Sanity3Feb 3, 2021
How to create a document with a weak reference using Sanity client?2Feb 2, 2021
Gatsby: Query array of references returns _ref instead of full documents18Feb 1, 2021
Querying for array of references in Gatsby and Sanity18Feb 1, 2021
Text blocks rendering at same size in block-content-to-react9Feb 1, 2021
I have an array of references to a country schema type but it always just returns NULL values for me11Jan 30, 2021
Querying array of references in Sanity schema and resolving null values11Jan 30, 2021
Dynamic filter for reference list based on product reference not working14Jan 28, 2021
Filtering a reference list with a dynamic filter in Sanity.io13Jan 28, 2021
I've noticed I can add a preview to an image type but it only pulls data from the settings field name in the fields[] within...15Jan 27, 2021
Code formatting plugin for Sanity block content23Jan 26, 2021
References showing as "untitled" in Sanity array - how to add preview?37Jan 15, 2021
Mux plugin upload fails: video file not available from Sanity Google Storage17Jan 13, 2021
How to get reference data in nested components without overriding other fields?4Jan 6, 2021
Filter child elements in Sanity query (documents array references)9Jan 4, 2021
Array with multiple reference types causing schema validation error13Dec 31, 2020