
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeWhen 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:
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.
You have a few options:
Publish the parent document: When you publish the document that contains the reference field, you'll be prompted to also publish the referenced document (your new team member). This is Sanity's way of maintaining referential integrity.
Navigate directly to Team Members: Go to your Team Members document type in Studio. You should see the draft there with a draft indicator. You can then publish it independently.
Check your draft documents: Some Studio configurations show drafts alongside published documents in list views. Look for a draft indicator or toggle.
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.
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!
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.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store