Answers from the community about Previews

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 retrieve Sanity data for meta tags across all Next.js pages?15Sep 8, 2022
How to preserve image filename when using fields in Sanity query?11Sep 5, 2022
Sanity preview "Not authenticated" error with Next.js4Aug 27, 2022
Duplicate plugin "@sanity/production-preview" causing part conflict error6Aug 19, 2022
How to add custom columns with sorting and reordering to Sanity document list view?5Aug 2, 2022
Show icon for video or image in array field preview10Jul 30, 2022
How to use Sanity image hotspot cropping in Next.js?20Jul 27, 2022
Sanity Desk: Prevent URL change when switching document localization versions6Jul 14, 2022
Where to set ProjectID in Sanity-Next project with .env.local file?19Jul 14, 2022
Sanity Next.js starter preview mode "Session not found" error troubleshooting4Jul 11, 2022
Unknown document type: * error when creating new location documents in Sanity Studio12Jul 11, 2022
SyntaxError in Sanity bin script with yarn on latest preview version6Jul 9, 2022
Set default value for string list options in Sanity schema23Jul 8, 2022
Display multiple fields in same line for Sanity preview23Jul 7, 2022
Getting undefined in getServerSideProps with Sanity query in Next.js18Jul 6, 2022
Accessing nested fieldset fields in Sanity custom Input component2Jul 1, 2022
Adding custom preview for inline object with image array in block content10Jun 30, 2022
How to pass dynamic category ID to GROQ query in getStaticProps with slug param10Jun 28, 2022