Remove Unuse/Incorrect value of controlledVocabulary

40 views
Skip to first unread message

Yan Na Cheng

unread,
Jul 31, 2025, 12:39:50 AMJul 31
to Dataverse Users Community
HI Everyone!

We are struggling in the issue of removing incorrect value of controlledVocabulary.
We developed a customized metadata block. One of the field is called AffiliatedDept with the list of value. We accidently created duplicate value as below:

Screenshot 2025-07-31 123611.png

When curl http://localhost:8080/api/admin/datasetfield/AffiliatedDept , of course there is 2 value , we would like to remove value of id 878

{"id":878,"strValue":"\"Centre for Biosystems, Neuroscience, and Nanotechnology\"","displ           ayOrder":44,"identifier":""},{"id":950,"strValue":"Centre for Biosystems, Neuroscience, and Nanotechnology","displayOrder":44,"identifier":"Centre for Biosystems, Neuroscience, and Nanotechnology"}


We tried to reupload tsv without incorrect value, but the old value is still here. May we know any method to remove Unuse/Incorrect value of controlledVocabulary? Thank you.

Philip Durbin

unread,
Jul 31, 2025, 7:57:33 AMJul 31
to dataverse...@googlegroups.com
Hmm, my guess is that you'll need to edit the database directly, unfortunately.

Ideally, we'd have an API for this. Please feel free to make a feature request at https://github.com/IQSS/dataverse/issues

--
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/c7ba3f53-ffb8-4859-a3c8-42dd7c097acbn%40googlegroups.com.


--

Yan Na Cheng

unread,
Aug 26, 2025, 4:27:43 AM (11 days ago) Aug 26
to Dataverse Users Community
Dear Philip,

Thank you for confirming the lack of functionality to remove specific controlled vocabulary values. Since directly editing the database is not ideal, we raised the following feature request:  
https://github.com/IQSS/dataverse/issues/11764

Regards,
Joanna Cheng
Reply all
Reply to author
Forward
0 new messages