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
Issue with fetching data in Next.js using getServerSideProps19Jan 7, 2022
Hide/filter document types in reference field "Create New" option7Dec 30, 2021
Dynamic filters with reference to multiple types in Sanity14Dec 24, 2021
Access array index in custom input component with withDocument HOC3Dec 22, 2021
How to filter blog posts by category in NextJS with Sanity Studio?5Dec 14, 2021
How to create a singleton document that can only be created once in Sanity?9Dec 13, 2021
How to search nested string fields in complex Portable Text with custom blocks?9Dec 10, 2021
Custom photo document type vs media library plugin in Sanity2Nov 25, 2021
Unique slugs for nested projects within clients in Sanity schema19Nov 22, 2021
Reference expansion works in Vision but not in Next.js code27Nov 12, 2021
How to get a Slug to Resolve a Reference - Cannot Read Properties Error10Nov 9, 2021
How to get slug from a reference in Sanity?12Nov 7, 2021
Accessing grandparent object in GROQ query with ^ operator24Oct 29, 2021
Issues with SCSS modules after Upgrading Next.js16Oct 29, 2021
How to expand/resolve reference in Portable Text serializer mark?9Oct 15, 2021
Creating SCORM courses with Sanity as headless CMS12Oct 15, 2021
Sanity schema field not appearing in Gatsby frontend query11Oct 14, 2021
How to access image metadata in Sanity custom input component?5Oct 12, 2021