How AI is powering better personalization in e-commerce [with Vercel]. Sign up now

Where do inline-created reference documents appear in Sanity Studio?

4 repliesLast updated: Nov 29, 2025

Still getting to grips with everything, presently trying to understand creating documents inline.I've a got reference field for a 'teamMember', and created and published an entry inline, but the new 'teamMember' doesn't show up under my 'Team Members' documents?
AI Update

When you create a document inline through a reference field in Sanity Studio, you might notice it doesn't immediately appear in your main document list. This is actually expected behavior, and here's why:

Understanding Inline Document Creation

When you create a document inline from a reference field, Sanity creates a draft of that document. By default, the main document list views in Studio only show published documents. Your newly created team member exists as a draft (with an ID prefixed by drafts.) but hasn't been published yet.

How to See Your New Document

You have a few options:

Why This Happens

According to the reference field documentation, when you create and publish new documents inline from a reference field, the referring document will be blocked from publishing until the referenced document has been published. This ensures you don't end up with published documents referencing unpublished content.

The exception to this rule is if you're using a weak reference (configured with weak: true), which allows references to documents that may not exist or haven't been published yet.

Quick Fix

Simply publish your main document that contains the team member reference, and you should be prompted to publish the team member as well. After that, it will appear in your Team Members list!

Show original thread
4 replies

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Related contributions