Access document-level data within the preview, select & prepare? #3876
Unanswered
aaronbentley
asked this question in
Sanity Studio Support
Replies: 1 comment 2 replies
-
@aaronbentley This appears to be possible if you define your preview config outside the type:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey y'all 👋
I'm taking Sanity v3 out for a test drive, is it possible to access object-level data within the preview, select & prepare section, here's a pseudo- code example of what I'm trying to do:
I can create the name outside of the type and field definitions and reference it that way, I just wondered if there's a way to access the top-level object type data within the
select
object.Beta Was this translation helpful? Give feedback.
All reactions