Querying for custom document badges in Studio UI is not possible.

2 replies
Last updated: Feb 5, 2024
Is it possible to update a custom document badge with a custom document action?I can’t seem to query for the badges on a document…
Feb 5, 2024, 9:09 PM
The value of a badge doesn’t get written to your actual data. It exists only in the Studio UI.
Feb 5, 2024, 10:36 PM
Yeahhh this is what I ended up assuming here, thank you for validating
Feb 5, 2024, 10:37 PM

Sanity – Build the way you think, not the way your CMS thinks

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.

Was this answer helpful?