Answers from the community about Schema

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 Fetch Image From Client - Blank Image in Response24May 16, 2022
getServerSideProps not working in React Router (Next.js vs React)20May 16, 2022
Gatsby GraphQL not showing Sanity data after Netlify deployment7May 13, 2022
Should I create a new document type for "shorts" or use existing "article" type?4May 11, 2022
Sanity query returns empty array despite schemas and data in desk10May 11, 2022
Convert String to Object for the Slug Type3May 10, 2022
Sanity API mutation fails: Request body exceeds 4MB limit for portable text12May 9, 2022
How to programmatically populate fields array using GROQ query data?19May 5, 2022
Sanity data returns empty array in Next.js getStaticProps16Apr 27, 2022
TypeError: Cannot read properties of undefined (reading 'name') when creating new document11Apr 14, 2022
How to show createdAt field in Sanity Studio20Apr 13, 2022
How to rename Sanity schemas without losing content in Studio?7Apr 7, 2022
How to send email notifications on new Sanity documents using webhooks?43Apr 5, 2022
How to Calculate the Reading Time of Body Content with React18Apr 5, 2022
How to auto-populate excerpt field from blockContent in Sanity?16Apr 4, 2022
Image preview not showing in Sanity Studio19Mar 23, 2022
Filter null/empty entries in GROQ array subquery for page builder schema6Mar 19, 2022
Best practice validations for common Sanity field types7Mar 16, 2022