<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">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:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><a href="https://www.loc.gov/standards/sourcelist/subject.html">https://www.loc.gov/standards/sourcelist/subject.html</a>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Kate<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org>
<b>On Behalf Of </b>Majewski, Steven Dennis (sdm7g)<br>
<b>Sent:</b> Friday, January 17, 2020 4:27 PM<br>
<b>To:</b> mcyzyk@jhu.edu; Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] Need to add new value to Subject Term Type lookup table<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">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:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.5pt;color:#CDBE97">./curl_as_osx <a href="http://localhost:4567/config/enumerations/names/subject_term_type">
http://localhost:4567/config/enumerations/names/subject_term_type</a> | jq . <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.5pt;color:#DFBD22">{</span></b><span style="font-size:11.5pt;color:#CDBE97"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.5pt;color:#DFBD22"> </span></b><b><span style="font-size:11.5pt;color:#00008F">"lock_version"</span></b><b><span style="font-size:11.5pt;color:#DFBD22">:
</span></b><span style="font-size:11.5pt;color:#CDBE97">0</span><b><span style="font-size:11.5pt;color:#DFBD22">,</span></b><span style="font-size:11.5pt;color:#00008F"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.5pt;color:#DFBD22"> </span></b><b><span style="font-size:11.5pt;color:#00008F">"name"</span></b><b><span style="font-size:11.5pt;color:#DFBD22">:
</span></b><span style="font-size:11.5pt;color:#50DB39">"subject_term_type"</span><b><span style="font-size:11.5pt;color:#DFBD22">,</span></b><span style="font-size:11.5pt;color:#50DB39"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.5pt;color:#DFBD22"> </span></b><b><span style="font-size:11.5pt;color:#00008F">"editable"</span></b><b><span style="font-size:11.5pt;color:#DFBD22">:
</span></b><span style="font-size:11.5pt;color:#CDBE97">false</span><b><span style="font-size:11.5pt;color:#DFBD22">,</span></b><span style="font-size:11.5pt;color:#00008F"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.5pt;color:#DFBD22"> </span></b><b><span style="font-size:11.5pt;color:#00008F">"create_time"</span></b><b><span style="font-size:11.5pt;color:#DFBD22">:
</span></b><span style="font-size:11.5pt;color:#50DB39">"2015-08-11T21:10:13Z"</span><b><span style="font-size:11.5pt;color:#DFBD22">,</span></b><span style="font-size:11.5pt;color:#50DB39"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.5pt;color:#DFBD22"> </span></b><b><span style="font-size:11.5pt;color:#00008F">"system_mtime"</span></b><b><span style="font-size:11.5pt;color:#DFBD22">:
</span></b><span style="font-size:11.5pt;color:#50DB39">"2015-08-11T21:10:13Z"</span><b><span style="font-size:11.5pt;color:#DFBD22">,</span></b><span style="font-size:11.5pt;color:#50DB39"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.5pt;color:#DFBD22"> </span></b><b><span style="font-size:11.5pt;color:#00008F">"user_mtime"</span></b><b><span style="font-size:11.5pt;color:#DFBD22">:
</span></b><span style="font-size:11.5pt;color:#50DB39">"2015-08-11T21:10:13Z"</span><b><span style="font-size:11.5pt;color:#DFBD22">,</span></b><span style="font-size:11.5pt;color:#50DB39"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.5pt;color:#DFBD22"> </span></b><b><span style="font-size:11.5pt;color:#00008F">"jsonmodel_type"</span></b><b><span style="font-size:11.5pt;color:#DFBD22">:
</span></b><span style="font-size:11.5pt;color:#50DB39">"enumeration"</span><b><span style="font-size:11.5pt;color:#DFBD22">,</span></b><span style="font-size:11.5pt;color:#00008F"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.5pt;color:#DFBD22"> </span></b><b><span style="font-size:11.5pt;color:#00008F">"relationships"</span></b><b><span style="font-size:11.5pt;color:#DFBD22">: [</span></b><span style="font-size:11.5pt;color:#00008F"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.5pt;color:#DFBD22"> </span></b><span style="font-size:11.5pt;color:#50DB39">"term_type"<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.5pt;color:#DFBD22"> ],</span></b><span style="font-size:11.5pt;color:#DFBD22"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.5pt;color:#DFBD22"> </span></b><b><span style="font-size:11.5pt;color:#00008F">"enumeration_values"</span></b><b><span style="font-size:11.5pt;color:#DFBD22">: [</span></b><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.5pt;color:#DFBD22"> … </span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:11.5pt;color:#DFBD22"><br>
<br>
</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="color:#DFBD22"><br>
<br>
</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I don’t know where the logic behind what values are editable and what are not is documented. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I’m thinking you could change this in MySQL, but it would be wise to know why is it set non-editable first. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">— Steve M. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On Jan 17, 2020, at 3:19 PM, Mark Cyzyk <<a href="mailto:mcyzyk@jhu.edu">mcyzyk@jhu.edu</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
Dear Aspace List,<br>
<br>
I've been asked to add two new terms in the following two lookup tables:<br>
<br>
Subject Source: lcmptm "Library of Congress Medium of Performance Thesaurus for Music<br>
Subject Term Type: medium_of_performacne "Medium of performance"<br>
<br>
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".<br>
<br>
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.<br>
<br>
Question: How can I add a new value to the Subject Term Type lookup table without a Create button?<br>
<br>
Thanks,<br>
<br>
Mark<br>
<br>
-- <br>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><br>
Mark Cyzyk, M.A., M.L.S.<br>
Library Applications Group<br>
The Sheridan Libraries<br>
The Johns Hopkins University<br>
<a href="mailto:mcyzyk@jhu.edu">mcyzyk@jhu.edu</a><br>
<br>
Verba volant, scripta manent.<br>
<br>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>