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

Majewski, Steven Dennis (sdm7g) sdm7g at virginia.edu
Fri Jan 17 16:27:17 EST 2020


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": [
    "term_type"
  ],
  "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> 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?
> 
> Thanks,
> 
> Mark
> 
> -- 
> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
> Mark Cyzyk, M.A., M.L.S.
> Library Applications Group
> The Sheridan Libraries
> The Johns Hopkins University
> mcyzyk at jhu.edu
> 
> Verba volant, scripta manent.
> 
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200117/850b367b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4974 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200117/850b367b/attachment.bin>


More information about the Archivesspace_Users_Group mailing list