Can I upload metadata blocks only for a sub-dataverse of root?

19 views
Skip to first unread message

Zhang Yue

unread,
Oct 24, 2025, 6:05:25 AMOct 24
to Dataverse Users Community
Dear all,

WIth the help of guide I already successfully uploaded customized metadata blocks to the root dataverse. Is there any option to just direct upload these metadata blocks to specific sub-dataverse instead of the root one? Which means:

1. I am just the Admin of the specific sub-dataverse, not root Admin
2. the metadatablock template will not be seen in root when root Admin create another sub-dataverse.

If you have any suggestions, please let me know.

Sincerely,
Yue

Philip Durbin

unread,
Oct 24, 2025, 7:25:01 AMOct 24
to dataverse...@googlegroups.com
Hi Yue,

Yes, we do this for a number of Harvard-specific metadata blocks that we don't want to be seen. You put the name of the collection (the dataverseAlias) in the tsv file.

Here are the docs: "If specified, this metadata block will be available only to the Dataverse collection designated here by its alias and to children of that Dataverse collection." -- https://guides.dataverse.org/en/6.8/admin/metadatacustomization.html#metadatablock-properties

We actually don't do this hiding yet in the new React SPA so you can see the difference (hidden or not) here: https://github.com/IQSS/dataverse-frontend/issues/873

I hope this helps,

Phil

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dataverse-community/20755637-57a9-4b5a-b90c-0a22dee1455an%40googlegroups.com.


--

Zhang Yue

unread,
Oct 24, 2025, 8:36:16 AMOct 24
to Dataverse Users Community
Hi Phil,

Thanks for your quick response.

Cool to know dataverseAlias. Another question is that may I use such command on remote machine for tsv upload and metadatablock announce like: curl -H "X-Dataverse-key:xxx" -X POST -H "Content-type:application/json" -d "[\"journal\",\"mymetadata\"]" http://mydataverse.com/api/dataverses/:root/metadatablocks

Best,
Yue

Philip Durbin

unread,
Oct 24, 2025, 9:20:10 AMOct 24
to dataverse...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages