👋 Next.js Conf 2024: Come build, party, run, and connect with us! See all events

Finding and managing datasets in Sanity.io

4 replies
Last updated: Jun 5, 2023
Hello everyoneCan we see what dataset are we using in sanity desk?
Jun 5, 2023, 1:45 PM
Not directly in the desk.
You would have to go to your profile in the top right > Manage project > (this brings you to the project overview and > Datasets

Additionally, in your code, you can go to
sanity.json
(v2) or
sanity.config.js
and your projectID and dataset are listed there
Jun 5, 2023, 2:02 PM
Thank you for the replyMy concern is that if I have 2 similar datasets for qa and production, how would the user know which dataset they are altering in the studio. (Suppose the user is not a technical person and does not know about the configs and only about the UI).
Jun 5, 2023, 2:04 PM
I believe it will be based on the dataset you used when using
sanity deploy
The user in the UI will have no way of switching it from there.

When I'm doing QA I use two different Sanity studios and copy the data once confirmed
Jun 5, 2023, 2:09 PM
Great! Thank you for the help
Jun 5, 2023, 2:25 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?