🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup

Can custom asset sources' `assetDocumentProps` be exposed as editable fields under an image?

2 replies
Last updated: Nov 16, 2023
With custom asset sources, you have the option to set
. Can these be exposed as editable fields under an image? I was hoping if I match the props to the props under
on my image type field but that doesn't seem to work.
Nov 16, 2023, 6:38 PM
You could, but you would need to create a custom component that edited the image document’s metadata. You won’t be able to use the built in field functionality.
Nov 16, 2023, 6:43 PM
Ok makes sense, thanks!
Nov 16, 2023, 7:05 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?