Answers from the community

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
PortableText JSON format for Sanity CLI import21Jul 5, 2022
Accessing nested product titles in Sanity collection array13Jul 5, 2022
Custom validation messages for specific fields in document-level validation3Jul 5, 2022
How to create an empty object/divider component with no fields in Sanity?9Jul 5, 2022
Hide already selected references from array dropdown in Sanity10Jul 5, 2022
.map not a function error in getStaticPaths with dynamic routes7Jul 5, 2022
GROQ estimatedReadingTime query fails in Next.js API route but works in getStaticProps3Jul 4, 2022
Should I use GitHub Actions/Pages or Netlify for Eleventy + Sanity deployment?10Jul 1, 2022
Sanity Studio CLI "Cannot GET /" error on localhost:33332Jul 1, 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
Sanity image src property error in Next.js Image component16Jun 30, 2022
Adding custom preview for inline object with image array in block content10Jun 30, 2022
How to access the slug of a reference to a route in a CTA object within a hero element3Jun 29, 2022
Managing multilingual content with Sanity's Shopify connector2Jun 29, 2022
How to pass dynamic category ID to GROQ query in getStaticProps with slug param10Jun 28, 2022
Next.js fallback:true causes undefined post during prerender10Jun 28, 2022
Conditionally hide array item type based on document field value4Jun 28, 2022