Go Behind the Experience to see how Tecovas brings the West to life with Sanity 🤠 July 18th

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?