Unlock seamless workflows and faster delivery with our latest releases – get the details

How to Generate a Slug Automatically when a New Doc is Uploaded

2 replies
Last updated: Mar 25, 2021
Also one more thing how can I generate slug, automatically, like whenever I do upload a new doc, it should automatically generate slug
Mar 24, 2021, 5:52 PM
Hello! Could you adapt this example document action to generate a slug on publish?
Mar 24, 2021, 5:58 PM
thanks a lot
Mar 25, 2021, 4:24 AM

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?