the best way of displaying a list of documents that are referenced to the currently viewed document.

3 replies
Last updated: Sep 9, 2020

Hi all, I just want to check the best way of displaying a list of documents that are referenced to the currently viewed document. So if I'm editing the Europe Continent page I'd like an auto-generated list of all the Countries that are referenced to it.Better off with some kind of Input Component or would it be best to use a reactComponent via the Structure Builder? Any other better approach? Thanks very much
🤘

Sep 9, 2020, 10:01 AM
Sep 9, 2020, 2:26 PM
Sep 9, 2020, 2:26 PM

Sweet, thanks! I'll look into that and see how things go... cheers.

Sep 9, 2020, 2:29 PM

Sanity.io: Get the most out of your content

Sanity.io is a platform to build websites and applications. It comes with great APIs that let you treat content like data. Give your team exactly what they need to edit and publish their content with the customizable Sanity Studio. Get real-time collaboration out of the box. Sanity.io comes with a hosted datastore for JSON documents, query languages like GROQ and GraphQL, CDNs, on-demand asset transformations, presentation agnostic rich text, plugins, and much more.

Don't compromise on developer experience. Join thousands of developers and trusted companies and power your content with Sanity.io. Free to get started, pay-as-you-go on all plans.