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
GROQ query to filter blog posts by category slug19Aug 11, 2021
Author schema preview shows undefined jobTitle after Sanity update6Aug 11, 2021
Can I access dereferenced fields from a doc reference in schema validation?3Aug 6, 2021
Exclude fields in GROQ query without fetching them first6Jul 30, 2021
How to show custom preview as default view when opening document from search results?4Jul 29, 2021
Troubleshooting importing HTML content into Sanity using @sanity/block-tools4Jul 23, 2021
Best practice for alt text on images in block content?9Jul 20, 2021
How to display custom titles for array objects in Sanity?6Jul 16, 2021
How to fix "untitled" document name in Sanity schema type?16Jul 12, 2021
Schema changes not reflecting in output despite showing in Studio9Jul 7, 2021
How to get title field from reference in Sanity preview?70Jul 1, 2021
Setting readOnly and hidden fields with initialValue in Sanity schema25Jun 30, 2021
GROQ: Flatten nested array and extract specific property (usedTime) from tasks11Jun 29, 2021
Migrating Data and Export/Import to Remake Schemas9Jun 28, 2021
How to auto-generate slug from title field in Sanity productVariant schema?8Jun 27, 2021
Output referenced person image as background in Next.js from Sanity query5Jun 25, 2021
Sanity initial value template not working in structure - "Template not defined" warning5Jun 25, 2021
How to slugify or transform string values inside GROQ queries?7Jun 23, 2021