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
How to insert inline blocks (like current date/time) in Portable Text?6Aug 5, 2022
How to hand off a Sanity blog template to clients?7Aug 5, 2022
Retrieve file source/URL in GROQ query for SVG uploads5Aug 5, 2022
Filtering options in an array dropdown for selecting modules by matching course in Sanity.io21Aug 5, 2022
Sanity app and data model architecture documentation6Aug 4, 2022
How to create draft edits with patch to trigger webhook edit events?6Aug 3, 2022
Sanity init fails after updating to latest version7Aug 3, 2022
Cannot delete locked image - document type no longer exists in schema9Aug 2, 2022
Adding document reference to user in Sanity client create and patch12Aug 2, 2022
How to add custom columns with sorting and reordering to Sanity document list view?5Aug 2, 2022
TypeScript error with `!data?._type === 'page'` condition in Next.js slug file7Jul 31, 2022
Get prev/next document in ordered GROQ query11Jul 31, 2022
Sanity fetch returns undefined: "item is not defined" error in React17Jul 31, 2022
Get all articles in a category for archive page13Jul 30, 2022
Show icon for video or image in array field preview10Jul 30, 2022
How to create a Sanity dashboard widget with GROQ query and display data?11Jul 29, 2022
How to fetch draft versions of nested documents in Sanity GraphQL API?17Jul 28, 2022
GROQ: Get draft version of referenced document if exists, else published4Jul 28, 2022