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
Sum distances from nested trailHiked objects in Sanity posts array2Mar 30, 2022
Using Sanity as middleware to edit database query results6Mar 29, 2022
Can I upload base64 images/files to Sanity using client.assets.upload?18Mar 28, 2022
Adding singleton references to CTA object in Sanity5Mar 28, 2022
Fetching video assets (mp4/webm) with @sanity/asset-utils - asset ID error3Mar 27, 2022
Batch multiple queries into a single API call in Sanity62Mar 24, 2022
New schema documents not appearing in localhost or sanity.io/manage24Mar 24, 2022
Query Sanity documents by matching IDs from user's array8Mar 23, 2022
Reduce Sanity API requests and bandwidth usage for high-traffic Next.js blog9Mar 23, 2022
Image preview not showing in Sanity Studio19Mar 23, 2022
Sanity content loading bottom-to-top with staggered flash on first load11Mar 23, 2022
How to protect Sanity project_id and dataset using .env variables in Nuxt?10Mar 22, 2022
Sanity Webhook to Discord Returns 400 Error: "Cannot send an empty message8Mar 22, 2022
Filter null/empty entries in GROQ array subquery for page builder schema6Mar 19, 2022
How to preserve newlines from Sanity text fields in HTML/React?18Mar 19, 2022
Best practice validations for common Sanity field types7Mar 16, 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