🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup

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
Duplicating content in Sanity Studio v3.40.0 causes reference issues9May 21, 2024
How to access the actual value of a reference in a document in Sanity.io.3May 15, 2024
Conditional selection of image and returning a reference if the _type is image, otherwise returning the rest of the available...4May 14, 2024
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