Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

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
Using initialValueTemplates to reference parent document fields3Nov 1, 2024
Customizing reference field preview in array schema without modal7Jun 24, 2024
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
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