Watch a live product demo 👀 See how Sanity powers richer commerce experiences

Answers from the community about Reference

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

TopicCategoriesFeaturedRepliesLast Updated
Is there an easy way to get the reference data in a deeply nested component? I have a list of different components, some...4Jan 6, 2021
Hi again, I'm currently working on my blog and realized that the text blocks aren't rendering properly in block-content-to-react....9Feb 1, 2021
Validation Rule - Only allow one member in an array.2Feb 26, 2021
API CDN - Over 1 Million API Calls in 48 Hours2Feb 24, 2021
Clarification on using Lerna for package management3Apr 24, 2020
Validation Error: Validator for flag "uri" not found for type "Object"`7Aug 6, 2020
Using Accents in GROQ Queries and Matching to Documents11Sep 13, 2021
Export Video Set: 'VideoSet'2Jul 1, 2022
Querying for documents by reference in a post and tag schema4May 22, 2023
How to Create a Preview for a Custom Type14Oct 25, 2021
Mutations API - How does Append work on an Empty Array?2Mar 4, 2021
How to Format References with Types of Posts3Apr 1, 2021
How to Upload an Image to a Document Using the YouTube API5Oct 28, 2021
how to limit a reference to just one entry in Studio reference input side versus the default as-many-entries-as-you-fill-in-an-array...4Sep 18, 2020
I have an array of references to a country schema type but it always just returns NULL values for me11Jan 30, 2021
What is the recommended way to deal with something like role in GROQ which can return different things?6Feb 5, 2021
`slug` is `undefined` when I track mark and children from internalLink5Dec 14, 2020
I'm having a issue with deploying graphql query something about top level schema error.12Sep 12, 2020