πŸ‘€ See Sanity in action: Watch product demo now β†’

Structure: Document ID required

Certain nodes within the desk structure requires a document ID to operate on.

Setting a document ID can be done by calling the documentId() method:

S.document()
  .id('car-editor')
  .schemaType('car')
.documentId('am-db9')

Was this article helpful?