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
Passing undefined to Sanity image URL builder causes error14Sep 11, 2022
Gatsby cache causing null Mux asset references in _rawJSON after node_modules reinstall3May 17, 2022
Rendering nested block content3Jan 18, 2021
How to access parent document field values in initialValueTemplates?3Nov 1, 2024
Skip reference modal and open pane directly in custom preview component7Jun 24, 2024
Sanity Studio v3.40.0 known bugs inquiry9May 21, 2024
How to resolve/dereference a reference field in Sanity?3May 15, 2024
Conditionally select image reference or return all other fields in GROQ4May 14, 2024
How to filter internationalized document references by language in Sanity?3Apr 17, 2024
Referencing draft documents in Sanity draft mode7Apr 8, 2024
Sanity data issue: Need help before manual re-cataloging and re-entry16Apr 5, 2024
How to access reference field value in hidden property using parent?4Mar 19, 2024
Filter Sanity reference by language key in localized field3Mar 16, 2024
How to filter a reference based on a value in the same document in Sanity.io.3Mar 13, 2024
How to create self-referencing schemas in Sanity without circular references?3Feb 3, 2024
Setting weak references in Sanity mutations with `weak: true`3Feb 2, 2024
Conditionally query desktop/mobile sections in GROQ based on screen size3Jan 24, 2024
How to set array reference field when creating document with Sanity JS API?4Jan 9, 2024