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
Discussion about issues with querying the "contacts" field in a Sanity.io document.36May 15, 2020
How to get the Image URL for an Image Field inside of the Studio17May 14, 2020
How to change the title of a document in Sanity's structure builder and how to make a schema type a singleton.8May 13, 2020
How to make schema fields required in Sanity?6May 12, 2020
How to apply custom ordering to documents in Sanity?78May 10, 2020
Issue with loading attached image after creating a new document in Sanity Studio via the sanity-plugin-intl-input package...6May 6, 2020
Can't remove type from schema after deleting documents that referenced it7May 1, 2020
Deleting a type A document caused an error when trying to remove type B from the schema.11May 1, 2020
Using Gatsby's Schema Customization APIs with @gatsby-contrib/gatsby-plugin-elasticlunr-search and resolving referencesin...5May 1, 2020
How to find a document in Sanity by its ID?10Apr 28, 2020
Troubleshooting warning for documents not declared in GraphQL schema during Gatsby build10Apr 28, 2020
InitialValue query fails but hardcoded reference works in Sanity schema34Apr 25, 2020
How to detect if document is draft in Sanity schema preview?4Apr 23, 2020
Checking if a schema preview is a draft in Sanity.io4Apr 23, 2020
How to use a custom preview component on the document view?16Apr 21, 2020
Gatsby Sanity build fails on Netlify: "Session not found" error11Apr 17, 2020
Custom Input Component: Setting Object Values with PatchEvent in Sanity2Apr 14, 2020
Discussion about implementing geojson for polygon in a plugin using Google Maps input or Leaflet, with consideration for...17Apr 7, 2020