Robuta

https://www.sanity.io/answers/adding-custom-image-preview-for-a-document-in-sanity Custom Image Preview Not Showing in Sanity Document List Hello! I'm trying to add a custom image as preview for my document by following this guide: https://www.sanity.io/docs/previews-list-views My schema looks... custom imagein sanitypreviewshowingdocument https://www.sanity.io/docs/changelog/53b04484-04b7-4af8-a796-2ba8a819bb00 Improved integration for TypeGen in Sanity Client + improvements and bugfixes | Sanity Docs in sanityimprovedintegration https://www.sanity.io/answers/how-to-handle-duplicate-slugs-with-different-parent-pages-in-a-client-website- Validating unique slugs with parent pages in Sanity hierarchical structur... Hi everyone, I have a client website with alot of pages, most have parent pages which will alter the slug so technically they are all different but the page... parent pagesin sanityvalidatinguniqueslugs https://www.sanity.io/answers/discussing-the-best-way-to-model-temperature-data-in-sanity-io Discussing the best way to model temperature data in Sanity.io Is it possible for an update to a document in studio to create / update a different and separate (but related) document in the same dataset? Like a... the best waytemperature datain sanitydiscussing https://www.sanity.io/answers/how-to-validate-the-filename-of-an-uploaded-file-in-a-sanity-schema-using-the--file--data-type- Filename validation for file type field in Sanity schema Hello everyone! Has anyone ever done any filename validation in a schema with the "file" data type? I'll be periodically uploading newer versions of files and... file typein sanityfilenamevalidationfield https://podcasts.apple.com/us/podcast/in-sanity-a-piece-of-mind/id1552661004 In Sanity: A piece of mind - Podcast - Apple Podcasts Listen to Stephanie Snuffer's In Sanity: A piece of mind podcast on Apple Podcasts. a piece of mindpodcast applesanitypodcasts https://www.sanity.io/answers/how-to-create-nested-folders-in-sanity-with-next-js-- Nested folders in Sanity Next.js Is it possible to have nested folders in sanity nextjs? please help in sanitynestedfoldersnextjs https://www.sanity.io/guides/inline-audio-player-portable-text Inline audio player in Sanity.io rich text | Sanity.io guide How to use the Portable Text Editor's flexibility to insert dynamic content in the middle of paragraphs audio playerin sanityrich textinlineguide https://www.sanity.io/answers/searching-documents-in-sanity-studio-using-references-and-filters-- Search documents by reference field in Sanity Studio Can I use Studio to search for documents based on reference? eg search Movies that have Tom Cruise? search documentsin sanityreferencefieldstudio https://www.sanity.io/answers/is-it-possible-to-generate-a-field-value-of-a-document-every-time-it-is-edited-in-sanity-io- Auto-generate field value on document edit in Sanity (onChange hook) I'm wondering if it's possible to generate a field value of a document every time the document is edited? Kind of like an 'onChange' hook? Context: I generate... field valuein sanityautogenerate https://www.sanity.io/answers/examples-for-writing-good-serializers-for-p1601281579238600 Good examples for writing serializers in Sanity with React Hello there! Anyone has some good examples for writing good serializers for React? I cannot seem to wrap my head around it with the exmaples on the package... for writinggoodexamplesserializerssanity https://www.sanity.io/answers/how-to-declare-a-custom-type-in-sanity-io-schema-and-resolve-the-issue How to declare custom types in Sanity schema? Hey everybody! Sorry to bother you all but I have an issue I cant figure out, even tho I know the solution is probably simple, and I'd like some guidance if... how to declarecustom typesin sanityschema https://www.sanity.io/answers/disabling-webp-in-a-studio-to-allow-for-easier-data-copying-and-pasting Disable WebP image format in Sanity Studio for easier manual uploads I maintain a studio where we keep event-related information. It is used for a web site and for building PDF flyers, all this works pretty smoothly. However,... image formatin sanitydisablewebp https://www.sanity.io/answers/structuring-documents-and-categories-in-sanity-io Structuring Nested Categories and Tags in Sanity Desk So I struggle with structuring my documents. I have tags that are categorised. I want to be able to create a category and within that category I want to create... categories and tagsin sanitystructuringnesteddesk https://www.sanity.io/answers/how-to-implement-a-preview-in-a-split-pane-view-using-sanity-io How to resolve references for split pane preview in Sanity Studio? Hello. I am trying to implement a preview in a split pane view in the studio and to accomplish the task, references need to be resolved. What is the best way... how toin sanityresolvereferences https://www.sanity.io/answers/setting-initial-values-for-reference-fields-in-sanity-schema- How to set initial value for reference field in Sanity schema? Hello! Is it possible to define an Inital Value for a type: "reference". Let's say for the reference to the author of a post, so in the output the name of the... how toinitial valuefor referenceset https://www.sanity.io/answers/array-of-references-showing-as-untitled References showing as "untitled" in Sanity array - how to add preview? Hello everyone, I was wondering if someone could help me with my problem? Currently in a schema I defined fields of a custom type "section"(type :'object').... in sanityhow toreferencesshowinguntitled https://www.sanity.io/answers/issue-with-deleting-objects-in-sanity-io-ui--objects-still-appear-even-after-deletion- Deleted objects still showing in Sanity UI with blank data good mornin....for some reason I cannot delete objects. I deleted them but they still show in the UI. but when clicked the data is all blank for all the... in sanitydeletedobjectsstillshowing https://www.sanity.io/answers/how-to-use-the-of-property-in-a-block-schema-type Understanding the "of" property in Sanity's block schema type I'm struggling to find guides/tutorials relating to the "block" schema type using the "of" property? I seem to be missing a trick. Can anyone point me in the... in sanityunderstandingpropertyblockschema https://www.sanity.io/answers/trouble-setting-up-first-sanity-app--authentication-issue-with-google--resolved-via-incognito-browser- Google Auth Redirect to Localhost Failing in Sanity CLI Setup Hello all! I'm having trouble setting up my first Sanity app because there seems to be an issue with authenticating via Google; it re-directs me to this... google authin sanityredirectlocalhostfailing https://bulbagarden.net/threads/in-sanity-teen.159013/ In Sanity (TEEN) | Bulbagarden These will be Creepypastas I write for Pokemon that are seemingly cute and harmless. There will be chapters, therefore as I do not want to flood the thread... in sanityteen https://www.sanity.io/answers/custom-validation-for-slug-fields-to-enforce-proper-formatting How to enforce proper slug format validation in Sanity to prevent spaces... I noticed today that type: 'slug' can have spaces and capitalizations in it. Someone on our team instead of clicking "Generate" on the slug typed something in... how toin sanityenforceproperslug https://www.salon.com/2010/10/18/year_in_sanity_robert_sarver_open2010/ The Year in Sanity: Robert Sarver - Salon.com Sep 25, 2011 - The Suns owner spoke out against Arizona's immigration law and had his team pay tribute to the state's Latinos the yearin sanityrobert sarversalon https://www.sanity.io/answers/syntaxerror-cannot-use-import-statement-outside-a-module Where to place translation script file in Sanity project structure? @UA0A7V0JE trying to fire up your awesome translation gist - where should this file live in the sanity project ? Trying to run as a script in the root and... where toscript filein sanityplacetranslation https://www.sanity.io/answers/issue-with-alt-text-in-sanity-studio-resolved-by-uploading-an-image Why doesn't alt_text show up in Sanity Studio? Why doesn't the alt_text show up in studio? doesn talt textshow upin sanitystudio https://www.sanity.io/answers/trouble-with-generating-slug-field-in-sanity-studio Trouble with generating slug field in Sanity Studio Hi Everyone, Excited to be here. I was wondering if anyone has come across the slug field not generating. Any tips to debug/trouble shoot? in sanitytroublegeneratingslugfield https://www.sanity.io/answers/discussion-about-upgrading-sanity-version-and-resolving-a-bug-with-hidden-fields-in-schema-type-definition- Setting readOnly and hidden fields with initialValue in Sanity schema hidden fieldsin sanitysettingreadonlyschema https://www.sanity.io/answers/issue-with-document-title-not-appearing-in-preview How to fix "untitled" document name in Sanity schema type? Hello - I added a schema type for 'content' and whenever I 'create new' it shows up as 'untitled' and there seems no way to change the name- any idea what I'm... how to fixuntitled documentin sanitynameschema https://www.sanity.io/answers/preventing-duplicates-of-a-reference-type-from-being-entered-into-an-array-in-sanity-io Prevent duplicate references in Sanity array field Hey! Is it possible to prevent duplicates of a reference type from being entered into an array? I'm making a quiz and in the quiz there is a question where a... in sanitypreventduplicatereferencesarray https://www.sanity.io/answers/filtering-products-by-sub-categories-in-sanity-io-schema Creating nested product folders filtered by category in Sanity Desk Structur... by categoryin sanitycreatingnestedproduct https://www.sanity.io/answers/issue-with-preview-form-component-not-working-in-sanity-io Custom preview component not working for object field in Sanity array i'm following along on https://www.sanity.io/docs/form-components#0319196f086b and i can't seem to get the preview form component to work, but the input... not workingcustompreviewcomponent https://www.insanitylab.it/ Homepage - In-sanity Lab Feb 17, 2026 - Il tuo centro di personal training a Bologna: riabilitazione, pilates, nutrizione, coaching. Approccio integrato fitness-salute. in sanityhomepagelab https://www.sanity.io/answers/getting-current-dataset-and-project-id-without-hardcoding-in-sanity Get current dataset and project ID in Sanity without hardcoding Is there a way to get the current dataset and project id inside the code, without hardcoding it? To use on BlockContent, to set imageOptions in sanitygetcurrentdatasetproject https://www.sanity.io/answers/switching-datasets-in-sanity-json-causing-errors-in-studio-and-console How to switch datasets in Sanity without getting errors in Studio? hey all... how do i switch datasets? now that my schema is 99% setup i wanted to start working from an empty dataset for entering production content. i went... how to switchin sanitydatasetswithoutgetting https://www.sanity.io/answers/how-to-visually-format-custom-styles-in-sanity-s-block-content-richtext-editor-field- How to visually format custom styles in Sanity block content editor? I'm adding a custom style to a block content/richtext editor field and was trying to find out how I can format the text in the editor to reflect the different... how tocustom stylesin sanityblock contentvisually https://www.sanity.io/answers/it-seems-like-there-are-some-ghost-mark-types-p1600177534089300 Unknown mark type warnings in Sanity block content serialization anyone have any idea how to get rid of these warnings? it seems like there are some ghost mark types creeping their way into my block content Unknown mark type... in sanityblock contentunknownmarktype https://www.sanity.io/answers/error-with-live-preview-in-next-js-and-sanity-io-resolved-by-fixing-parts-in-sanity-json schema.getTypeNames is not a function error in Sanity Studio Howdy everyone! When going through the https://www.sanity.io/guides/nextjs-live-preview I am getting an unhandled error in the browser at 3333 despite a... is notin sanityschemafunctionerror https://www.sanity.io/answers/custom-time-only-input-for-localized-project-in-sanity-io Custom time-only input field in Sanity schemas Hey community, I was wondering, there are the Date and Datetime SchemaTypes. What about time only? Yes, there is the great Availability Plugin but in my... time onlyinput fieldcustomsanityschemas https://www.sanity.io/answers/discussion-about-using-the-correct-cdn-for-assets-in-sanity-and-potential-issues-with-multiple-requests-for-the-same-asset- CDN vs APICDN difference in Sanity and stale-while-revalidate caching Noticing during a component refresh network traffic is fetching the same asset multiple times. I found this to use http://apicdn.sanity.io instead of... in sanitycdnvsdifference https://www.sanity.io/answers/discussion-on-various-issues-related-to-schema-fields-in-a-sanity-io-slack-thread- How to resolve Slack thread issue in Sanity community? how toin sanityresolveslackthread https://www.sanity.io/answers/user-resolves-image-selection-issue-caused-by-css-customization-- Can't select uploaded images in Sanity, no errors shown And I have another error, I can no longer select images. They are inserted when I upload them, but when I want to select one, nothing happens and I get no... can timages inselectuploadedsanity https://www.sanity.io/answers/error-using-createclient-in-sanity-and-typescript-code TypeError: createClient is not a function in Sanity TypeScript code Hello All... new to Sanity and Typescript so there is probably an obvious answer, but I'm getting this error: TypeError: Object(...) is not a function using... is notin sanitytypeerrorfunctiontypescript https://www.sanity.io/answers/how-to-display-the-title-field-in-sanity-preview-section How to display field value in Sanity schema preview section? how tofield valuein sanitydisplayschema https://www.sanity.io/answers/best-practices-for-using-page-structure-builder-in-sanity-and-decoupling-from-traditional-cms-thinking- Best practices for using page structure builder in Sanity and decoupling... The page structure builder works nice. But can I like remove the page builder structure from a homepage only for instance? So the homepage should hide this... best practicespage structurein sanityusing https://www.sanity.io/answers/is-there-a-way-to-get-the-key-in-an-array-p1599730869291100 How to include _key when resolving array references in Sanity GROQ? how toin sanityincludekey https://www.sanity.io/answers/error-when-using-nested-arrays-in-sanity-schema Invalid item type" error with blockContent schema in Sanity array I am getting the non-descript error: "Error: Invalid item type: "[object Object]". Default array input can only contain objects (for now)" with this schema for... item typein sanityinvaliderrorschema https://www.sanity.io/answers/how-to-get-the-titles-of-tags-attached-to-stories-in-sanity-io Query array of references to get tag titles in Sanity GROQ I'm struggling with what I feel certain is a very basic query. So maybe someone will be able to give me a quick easy answer! I have documents of _type ==... to getin sanityqueryarrayreferences https://www.sanity.io/docs/help/configuring-typegen-in-sanity-cli-config Configuring typegen in Sanity CLI config | Sanity Docs Apr 15, 2026 - As of version 4.19.0 it is recommended to configure typegen through the Sanity CLI config. in sanityconfiguringclidocs https://www.sanity.io/answers/content-modelling-problems-with-blog-websites-and-page-builders Blog index page management in Sanity CMS: separate document vs page builder... Hey fellow devs! I need your opinion about a content modelling problems I often run into with many clients: Let's take a blog website. In the CMS I have an... blog indexpage managementsanity cmsseparate document https://www.sanity.io/answers/how-to-improve-performance-when-rendering-youtube-videos-in-nextjs-with-sanity Optimizing YouTube embed performance in Sanity with React Portable Tex... Hi, while using NextJS with sanity I am facing performance issue as I add YouTube video in sanity text editor and then render it on website using ReactPortable... youtube embedin sanityoptimizingperformancereact https://www.sanity.io/answers/hiding-the-----button-in-sanity-s-document-list-pane-- Hide + button in Sanity nested documentList structure I'm following the structure cheet sheet and I've the exact same use case as shown in this code. And I'm able to show blog by category. But at the top there is... in sanityhidebuttonnestedstructure https://www.sanity.io/answers/extracting-referenced-images-from-an-object-array-in-sanity-io How to query nested references in Sanity (reference array with image reference)... Hey, I have a reference array to an object with bits of information (called socials), mainly text, and then inside socials I have another reference to an image... how toin sanityquerynestedreferences https://togetherinsanity-experiencehub.com/ Together in.sanity - Experience Hub Network for the integration and advancement of experiential expertise in sanitytogetherexperiencehub https://www.sanity.io/answers/how-to-filter-from-properties-of-expanded-references Filter expanded references by properties in Sanity GROQ query Does anyone know how to filter from properties of expanded references? For instance, I can get all recipes that have a publishDate earlier than the current... by propertiesin sanityfilterexpandedreferences https://www.sanity.io/answers/passing-down-attributes-in-sanity-using-functional-components-for-complex-structures Passing parent object attributes to child fields in Sanity schema in sanitypassingparentobjectattributes https://www.sanity.io/answers/storing-read-only-user-data-in-sanity-data-store Storing User Data and Progress in Sanity Data Store vs PostgreSQL/Prism... Hello, do you have any thoughts in regard to Sanity Data Store? I was wondering about storing user data there like user details, or their progress made with... user datain sanitystoringprogress https://www.sanity.io/answers/trouble-targeting-second-array-layer-in-react-component Accessing nested product titles in Sanity collection array in sanityaccessingnestedproducttitles https://www.sanity.io/answers/graphql-query-and-gatsby-populating-author-bio-raw-text How to query author bio raw text field in Sanity GraphQL? Hello, I am struggling to get the author bio raw text to populate return from my blog post template query. Query looks like this: query... how toauthor bioraw textin sanityquery https://www.sanity.io/answers/discussion-on-the-use-of-tables-in-sanity-ui-and-why-they-may-be-an-anti-pattern- HTML table component or styling in sanity-ui? Is there some component or styling for HTML tables in sanity-ui? I guess not, but I just wanted to be sure. Otherwise I'll go with react-table. html tablein sanitycomponentstylingui https://www.sanity.io/answers/explainer-needed-what-is-a-mark-decorator-and-serializer Understanding Marks, Decorators, and Serializers in Sanity Portable Tex... Hello, I don't understand the following concepts? Can someone please explain? 1. What is a mark/custom mark? 2. What is a decorator? Where is a decorator used... in sanityunderstandingmarksdecoratorsserializers https://www.scriptedinsanity.com/ Scripted in Sanity Scripted in Sanity, scriptedinsanity, CRD, humour, poetry, weird stories, stories, flash fiction, reviews, travel, scriptedsanity