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
Why am I getting duplicate records in my Sanity query with projection?7May 7, 2021
How to alphabetize/sort reference type options in Sanity schema3Apr 30, 2021
Mixed reference array links cause full studio reload instead of navigation15Apr 27, 2021
Reference dereferencing fails after order() in array projection13Apr 26, 2021
Sanity internalLink annotation error: "Could not resolve jsonType of undefined5Apr 20, 2021
How to write a GROQ Query to Filter a Reference Field within Documents3Apr 16, 2021
GROQ conditional reference dereferencing not working in API 2021-03-25+5Apr 15, 2021
GROQ: Filter blog posts by referenced tag names7Apr 13, 2021
Validation error prevents publishing when both internal and external link fields are filled4Apr 13, 2021
How to prevent second plugin from overwriting first document action?14Apr 12, 2021
Sanity with Angular: Why no starter projects or tutorials?10Apr 12, 2021
How to delete Home and About pages in Sanity when getting an error50Apr 9, 2021
usePreviewSubscription not showing draft content in Next.js10Apr 8, 2021
Including referenced document's slug field in Sanity query results60Apr 7, 2021
Sanity date field dateFormat option not being respected8Apr 2, 2021
Filter GROQ query results to return only unique/distinct values8Mar 31, 2021
Get image ratio without GROQ query using @sanity/image-url helper15Mar 30, 2021
Error: Custom annotation types not found in Sanity schema definition24Mar 18, 2021