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
Slug not auto-generating when clicking 'Generate' button5Jun 20, 2023
How to backfill content when adding new fields to Sanity schema?7Jun 19, 2023
Migrating sanityClient import from v2 to v3 in schema file5Jun 13, 2023
How to hide media/image in Sanity preview list?9Jun 11, 2023
Sanity schema error: "no type or title" despite following tutorial24Jun 3, 2023
How to query image URLs from array of images in Sanity?23May 26, 2023
Make Sanity schema fields required by default instead of optional2May 23, 2023
Query documents by reference array in Sanity (filtering posts by tags)4May 22, 2023
How to add images to Portable Text / Block Content in Sanity?35Apr 4, 2023
How to structure Sanity schema for different fields per page?10Mar 11, 2023
Accessing nested union type content in Sanity preview select4Feb 27, 2023
How to define and use Sanity document types in same file without updating schemaTypes array?45Feb 18, 2023
Import external JSON for Sanity schema list options24Feb 12, 2023
How to import Sanity schema types into TypeScript React project?12Feb 3, 2023
Recovering lost schema files in Sanity.io project7Feb 1, 2023
Automatically Changing Field A Based on Field B5Jan 18, 2023
How to query array of images in Sanity schema?4Jan 17, 2023
Filter references based on selected product in nested variants array3Jan 10, 2023