๐Ÿ‘€ Our most exciting product launch yet ๐Ÿš€ Join us May 8th for Sanity Connect

Understanding how to create inline documents with reference fields in Slack thread

4 replies
Last updated: Jun 19, 2023
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?
Jun 19, 2023, 8:36 PM
Would you mind showing a snippet from your schema where youโ€™re creating the reference?
Jun 19, 2023, 8:38 PM
Hey Geoff, schoolboy error, I had the 'teamMembers' set to type 'array' rather than 'reference' ๐Ÿ˜
Jun 19, 2023, 8:44 PM
All good! Glad you got it worked out! ๐Ÿ˜€
Jun 19, 2023, 8:48 PM
Thanks for jumping to my aide so quick ๐Ÿ™Œ
Jun 19, 2023, 9:32 PM

Sanityโ€“ build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?