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
Sanity API versions not returning key except v136Mar 31, 2022
Adding singleton references to CTA object in Sanity5Mar 28, 2022
Query Sanity documents by matching IDs from user's array8Mar 23, 2022
Image preview not showing in Sanity Studio19Mar 23, 2022
Filter null/empty entries in GROQ array subquery for page builder schema6Mar 19, 2022
Help with GROQ query and filtering array in Slack thread18Mar 16, 2022
Accessing nested array objects from GROQ query with conditional fallback25Mar 15, 2022
How to validate that a document is referenced by at least one other document?26Mar 9, 2022
How to get alt text from Sanity Media Plugin using GROQ?13Mar 8, 2022
Cannot delete document due to reference error despite document not being used19Mar 7, 2022
Troubleshooting obtaining internalUrl with @portableText React in Sanity.io20Mar 7, 2022
How to resolve references in resolveProductionUrl for preview iframe?12Mar 4, 2022
GROQ query: Include author reference fields across multiple content types5Feb 28, 2022
Creating a Margin Action with Decorator in Sanity Block Editor7Feb 28, 2022
Next.js Image component with Sanity.io: src error despite adding source7Feb 27, 2022
How to get image URL from asset._ref in Sanity?5Feb 25, 2022
How to create a reference mark in Sanity using block-tools and a portable text schema.5Feb 21, 2022
How to Download File Assets by Filename Instead of Project ID9Feb 19, 2022