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

Christine Di Bella christine.dibella at lyrasis.org
Tue Jan 21 08:43:19 EST 2020


Hi everyone,

Most controlled value lists in ArchivesSpace are editable. Subject source is an editable list, so any of these controlled vocabularies can be added as sources locally, even though only a small number are included in ArchivesSpace out-of-the-box. Because practices and collection scope/focus vary so much across the community there is a lot of latitude for people to configure lists locally so that they can see the values most relevant to them.

When controlled value lists in ArchivesSpace are not editable it's either because certain values are required to be there to make particular functions within the system work or because they're tied into certain external standards and at the time that specifications were written and circulated for ArchivesSpace (nearly 10 years ago at this point) there was agreement that these were the values to limit in the list to closely align with the standard. In the case of subject term type, the values closely tie into what's in MARCXML and EAD in the 6XX fields and the <controlaccess> area.

Whenever there is interest in revisiting this or any decision regarding the ArchivesSpace schema for any type of record or controlled value list, I definitely encourage you to get/keep discussion going here and/or by create JIRA tickets proposing changes. (As you've been doing with this one - making a JIRA ticket might be the next step if people want to raise it to an issue to be considered by Development Prioritization.) Like any software application ArchivesSpace evolves over time and community guidance and input are what determine that evolution.

Christine

Christine Di Bella
ArchivesSpace Program Manager
christine.dibella at lyrasis.org<mailto:christine.dibella at lyrasis.org>
800.999.8558 x2905
678-235-2905
cdibella13 (Skype)

[ASpaceOrgHomeMedium]


________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Majewski, Steven Dennis (sdm7g) <sdm7g at virginia.edu>
Sent: Friday, January 17, 2020 8:31:52 PM
To: 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


This will make it editable and cause the 'create' button to appear:

MariaDB [archivesspace]> update enumeration set editable = 1 where name = "subject_term_type" ;

But I'ld still like to understand the reason it was set as not editable as the default.


- Steve M.




On Jan 17, 2020, at 5:02 PM, Bowers, Kate A. <kate_bowers at harvard.edu<mailto:kate_bowers at harvard.edu>> wrote:

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:
https://www.loc.gov/standards/sourcelist/subject.html

Kate

From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> <archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto: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<mailto:mcyzyk at jhu.edu>; Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto: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": [
    "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<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?

Thanks,

Mark

--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
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>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto: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/20200121/8850862f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 6608 bytes
Desc: image001.jpg
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200121/8850862f/attachment.jpg>


More information about the Archivesspace_Users_Group mailing list