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 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?