cross-dataset-duplicator
cross-dataset-duplicator copied to clipboard
Doesn't work cross projects.
To my understanding it is possible to link multiple projects as workspaces in the same sanity studio.
I configured mine and installed this plugin and datasets from other projects are selectable which is exactly what I want, but two issues came up:
Let's suppose that I have two projects (A & B), both with two datasets (A & B) I cannot select to copy documents from Project-A/Dataset-A to Project-B/Dataset-A. It only works when selecting a dataset with a different name in the destination project.
It is also not possible to duplicate data to another project at all because the same token is used to first read from source project and then write to the target project.
Wouldn't it be possible to fetch the secret in the destination project and use it's api key to allow cross-project duplications.
Ah, the plugin was always intended to allow this behavior, so I'd consider this a bug you're currently unable to.
Yea, this still doesn't work. I have two different projects both with 'production' dataset and it does not work. The destination entry is not alterable (but shows both configured projects with their project IDs). I installed on an older version of sanity studio and also a clean install of the latest sanity studio (3.5.1 as of this writing). Still doesn't work. My whole reason for wanting this was to copy only some data between projects intended for different websites while keeping their own projects to themselves.