[Archivesspace_Users_Group] Need to add new value to Subject Term Type lookup table

Bowers, Kate A. kate_bowers at harvard.edu
Fri Jan 17 17:02:11 EST 2020

This needs to either be editable or include all of these controlled vocabularies (405 of them) with the ability to suppress display of them by repository managers:


From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Majewski, Steven Dennis (sdm7g)
Sent: Friday, January 17, 2020 4:27 PM
To: mcyzyk at jhu.edu; Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Need to add new value to Subject Term Type lookup table

subject_term_type enumeration is set as non-editable, which is why no create button appears in the view, and also, I believe, prevents changing it via the API as well:

./curl_as_osx http://localhost:4567/config/enumerations/names/subject_term_type | jq .
  "lock_version": 0,
  "name": "subject_term_type",
  "editable": false,
  "create_time": "2015-08-11T21:10:13Z",
  "system_mtime": "2015-08-11T21:10:13Z",
  "user_mtime": "2015-08-11T21:10:13Z",
  "jsonmodel_type": "enumeration",
  "relationships": [
  "enumeration_values": [

I don’t know where the logic behind what values are editable and what are not is documented.
I’m thinking you could change this in MySQL, but it would be wise to know why is it set non-editable first.

— Steve M.

On Jan 17, 2020, at 3:19 PM, Mark Cyzyk <mcyzyk at jhu.edu<mailto:mcyzyk at jhu.edu>> wrote:

Dear Aspace List,

I've been asked to add two new terms in the following two lookup tables:

Subject Source:  lcmptm "Library of Congress Medium of Performance Thesaurus for Music
Subject Term Type: medium_of_performacne "Medium of performance"

The Subject Source lookup table has a Create button, I click it, add "lcmptm", then go into /aspace/locales/enums/en.yml to add the corresponding "translation".

However, the Subject Term Type lookup table does NOT have a Create button.  I added the new value to the proper place in /aspace/locales/enums/en.yml anyway hoping it would show up in the Web GUI.  But no joy.

Question:  How can I add a new value to the Subject Term Type lookup table without a Create button?



Mark Cyzyk, M.A., M.L.S.
Library Applications Group
The Sheridan Libraries
The Johns Hopkins University
mcyzyk at jhu.edu<mailto:mcyzyk at jhu.edu>

Verba volant, scripta manent.

Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200117/b5189c14/attachment.html>

More information about the Archivesspace_Users_Group mailing list