Content enrichment schemas and snippets
Set slug on publish with referenced field value
Studio v2
Set slug on publish document action
Go to Set slug on publish with referenced field valueGROQ query to pull data for image palette information
A query to pull the rich color data associated with an image from the Sanity Asset Pipeline
Go to GROQ query to pull data for image palette informationFile Searchable Select
Choose a file from a searchable select
Go to File Searchable SelectPopulate fields with data from a file upload
Do something with a uploaded file and populate a field in the document based on that
Go to Populate fields with data from a file uploadGROQ query to find all movie screenings with a specific actor
Find new connections in a dataset by filtering a second time on dereferenced data
Go to GROQ query to find all movie screenings with a specific actorHorizontal bar chart
This is a schema we've used to create accessbile bar charts, with human-readable text for each bar.
Go to Horizontal bar chartPage 3 of 3