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
How to build hierarchical href paths from parent-child references in GROQ?33Oct 12, 2021
How to nest lqip inside mainImage object in Sanity GROQ query?10Oct 6, 2021
How to use references() function in Sanity HTTP API GET requests?4Oct 5, 2021
Get image width and height with @sanity/image-url2Oct 5, 2021
How to preview title instead of value in string options list?2Oct 4, 2021
Best approach for retrieving translations in GROQ queries from frontend?9Oct 4, 2021
Bulk uploading images into Sanity using the Media plugin and drag-and-drop feature.19Oct 1, 2021
Discussion comparing Delta and Portable Text formats for storing rich text5Oct 1, 2021
How to deploy Sanity & Next.js monorepo with separate folders to Vercel?14Oct 1, 2021
400 Error on Sanity Query Fetching Posts in React Portfolio7Sep 29, 2021
Filter duplicate references & set default author in reference array23Sep 27, 2021
GROQ query to get resolved image URL with width and height in latest API16Sep 27, 2021
GROQ: Fetch documents by category excluding latest 8 documents18Sep 27, 2021
Connecting Sanity CMS to 11ty Frontend Tutorial or Reference8Sep 16, 2021
GROQ query for Mux video asset returning only _ref instead of full data10Sep 11, 2021
How to get referenced document data in custom block serializer?28Sep 9, 2021
Reference search fails: "Attribute name cannot be an empty string" error33Sep 8, 2021
Creating nested product folders filtered by category in Sanity Desk Structure6Sep 5, 2021