Answers from the community about Reference

Some of the conversations between community members on questions, suggestions and tips for using Sanity. Join our Slack to be a part of it.

TopicCategoriesFeaturedRepliesLast Updated
How to Set the Value of a Read Only String Field in a Document Based on Other Fields?21Aug 14, 2020
Creating Gatsby Pages from a Table of Contents (ToC)10Aug 7, 2020
Validation Error: Validator for flag "uri" not found for type "Object"`7Aug 6, 2020
How to reference and display objects from a certain field in Sanity.io11Aug 3, 2020
GraphQL-Error: Found Duplicate Type Names: Cat3Jul 30, 2020
Troubleshooting returning image URLs in Next.js using Sanity.io27Jul 21, 2020
Can someone point me to the docs where you return a URL for an image?27Jul 21, 2020
How to Insert an Image into a Portable Text Block with Alt Text and Caption Predefined32Jul 14, 2020
Using GROQ to select from referenced values in Sanity.io5Jul 14, 2020
How to Write a Filter Query27Jun 8, 2020
Is there a GROQ Query where References in a PortableText Array of Blocks Are Also Resolved?10Jun 5, 2020
How to display the parent's label in the preview of a subcategory in Sanity.io14May 28, 2020
How to get Initial Values from a Media Object12May 28, 2020
How Can I Format Text in the Block Content Editor to Reflect the Custom Style?10May 20, 2020
Extracting referenced images from an object array in Sanity.io4May 17, 2020
Discussion about issues with querying the "contacts" field in a Sanity.io document.36May 15, 2020
How to get the Image URL for an Image Field inside of the Studio17May 14, 2020
Query issue with returning a specific collection in a Sanity.io Slack thread.5May 11, 2020