πŸ‘€ Our most exciting product launch yet πŸš€ Join us May 8th for Sanity Connect

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
Error: unable to resolve image URL from source (undefined)14Sep 11, 2022
GraphQL query resolving references on a _raw field in Gatsby3May 17, 2022
Rendering nested block content3Jan 18, 2021
How to filter a reference field in Sanity schema for localization.3Apr 17, 2024
Can you reference a document in draft mode when creating a new document?7Apr 8, 2024
Issue with reloading reference in Sanity causing incorrect title to revert back.16Apr 5, 2024
Issue with administrator role not having enough permission to access members tab on a project.5Mar 21, 2024
How to get a reference value of another field within the 'hidden' property in Sanity.io.4Mar 19, 2024
Issue with filtering a reference based on a language key in a Slack thread.3Mar 16, 2024
How to filter a reference based on a value in the same document in Sanity.io.3Mar 13, 2024
How to reference a schema from a schema in Sanity.io3Feb 3, 2024
Is it possible to set a weak reference through a mutation in Sanity.io?3Feb 2, 2024
Querying only desktop sections directly in the groq query for a responsive header setup.3Jan 24, 2024
How to create a new document and set a reference in an array using the JavaScript API.4Jan 9, 2024
Understanding the use of '@' in groq for reading fields outside of the reference context.5Nov 9, 2023
Issue with cache not reflecting changes in response of query in Next.js and Sanity v3.5Sep 29, 2023
Querying an array of references and getting both the resolved reference and the _key field.14Sep 26, 2023
How to reference a field in a Groq query in another part of the query without using a variable passed.7Sep 21, 2023