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 structure Sanity schema for different fields per page?10Mar 11, 2023
Custom field change bar not showing despite 'changed' prop updating45Mar 10, 2023
Migration script example to rename object field5Mar 10, 2023
Validate array to prevent empty references in Sanity4Mar 10, 2023
How to handle internal document references in Portable Text with GraphQL?5Mar 10, 2023
How to reconnect VS Code to existing Sanity dataset without wiping data?24Mar 9, 2023
Issues with svelte-portabletext: custom components work but standard text fails17Mar 8, 2023
Accessing document data in custom input components after v2 to v3 migration5Mar 7, 2023
Using @sanity/image-url without a build process or framework15Mar 7, 2023
Generate slug from multiple fields including nested references in Sanity V36Mar 7, 2023
TypeError: createClient is not a function in Sanity TypeScript code47Mar 6, 2023
How to filter out null responses in GROQ query when collecting tags?28Mar 6, 2023
How to update a field programmatically when saving a document in Sanity?7Mar 6, 2023
Help with array of images in Sanity33Mar 5, 2023
How to add different views (Editor, Preview, JSON) to orderable-document-list?14Mar 4, 2023
How to display document _id in Sanity Studio GUI?7Mar 4, 2023
Publishing non-base language documents with document-internationalization plugin10Mar 3, 2023
Converting portable text to plaintext in Sanity.io using a script6Mar 3, 2023