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
Handle logout in preview mode: clear cookies/cache to prevent crash48Jun 26, 2023
GitHub repo with page builder for Sanity Studio V3 demo?6Jun 23, 2023
Query with nested reference works in Vision but returns zero results in Sanity client24Jun 23, 2023
Private dataset with read token returning drafts - how to exclude them?3Jun 23, 2023
PortableText missing "image" component type in blockcontent4Jun 23, 2023
Show notice message for field independent of validation rules14Jun 23, 2023
How to add a custom block content component type to Sanity Studio?7Jun 23, 2023
Sanity array reference crashes with "Objects are not valid as a React child" error7Jun 23, 2023
Error importing dataset in Sanity v3: "@sanity/core" not available8Jun 23, 2023
Conditionally show Desk sidebar items based on current user role5Jun 22, 2023
Duplicates in Vision but not in Desk5Jun 22, 2023
How to optimize Sanity GROQ query with multiple filters for better performance2Jun 22, 2023
Optimizing Slow Sanity GROQ Queries with Filters and References6Jun 22, 2023
How to implement withDocument in Sanity v3?8Jun 22, 2023
Excluding noindex pages from next-sitemap with Sanity data access2Jun 22, 2023
Parent/child page relationships and nested slugs in Sanity2Jun 22, 2023
How to change "Publish" button text to "Save" in Sanity?7Jun 21, 2023
GROQ query for array with mixed objects and references5Jun 20, 2023