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
How to trigger code on navigation events and get current document?6Aug 16, 2022
How to add Sanity icon to portable text links instead of emoji?8Aug 15, 2022
Unknown mark type "internalLink" error despite defining component in marks12Aug 14, 2022
How to filter Sanity documents based on checkbox selections in NextJS?26Aug 10, 2022
Sanity CMS Question36Aug 9, 2022
How to create nested posts with ordered sub-posts in Sanity schema?11Aug 8, 2022
Retrieve file source/URL in GROQ query for SVG uploads5Aug 5, 2022
Filtering options in an array dropdown for selecting modules by matching course in Sanity.io21Aug 5, 2022
Cannot delete locked image - document type no longer exists in schema9Aug 2, 2022
Adding document reference to user in Sanity client create and patch12Aug 2, 2022
GROQ: Get draft version of referenced document if exists, else published4Jul 28, 2022
Sanity: Single entry field with multiple possible types (oneOf for objects)5Jul 26, 2022
Subscribe to a Document and Re-Render with React When Updated4Jul 26, 2022
Auto-toggle boolean field across documents in Sanity schema8Jul 25, 2022
Gatsby GraphQL returns null for Sanity reference array field (skills)6Jul 22, 2022
How to extract URL from referenced schema in Sanity?5Jul 20, 2022
GROQ: Query products through shopifyProduct variants to find references10Jul 15, 2022
Display multiple fields in same line for Sanity preview23Jul 7, 2022