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
apiVersion parameter breaking existing Sanity queries13Jul 7, 2022
Hide already selected references from array dropdown in Sanity10Jul 5, 2022
Accessing nested fieldset fields in Sanity custom Input component2Jul 1, 2022
GROQ v1 auto-dereferences arrays, v2+ returns refs - how to dereference?8Jun 30, 2022
How to access the slug of a reference to a route in a CTA object within a hero element3Jun 29, 2022
Filter Sanity documents by referenced array elements condition13Jun 25, 2022
How to access file asset URL in Sanity query for PDF download link?11Jun 23, 2022
Next.js - How to Make a Route Based on a GROQ Query27Jun 20, 2022
Gatsby blog template query not filtering by slug for individual posts3Jun 18, 2022
How to add mailto link in Sanity markdown/BlockContent?18Jun 16, 2022
How to make nested parent page slug query more generic in Sanity?11Jun 9, 2022
Filtering duplicate references in multiple documents in Sanity.io7Jun 7, 2022
Query Question - How to Filter a Reference for Active Documents4Jun 7, 2022
Display Sanity images with Next.js Image component using asset reference16Jun 6, 2022
Auto-generate reference field from _id's last 6 characters in Sanity2Jun 5, 2022
Using Sanity Spaces for Multi-Site CMS Setup (5+ Websites)10Jun 3, 2022
Converting string array tags to document references in Sanity schema28Jun 2, 2022
How to query images from portable text body in Sanity slug page?26May 27, 2022