<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>There is a backend API for setting required fields:</p>
<p><a class="moz-txt-link-freetext" href="https://archivesspace.github.io/archivesspace/api/?shell#require-fields-for-a-record-type">https://archivesspace.github.io/archivesspace/api/?shell#require-fields-for-a-record-type</a></p>
<p>That appears to have been created to enable required fields to be
set for agent records, but written in such a way as to be possible
for any record type. However, as the original request was for
agents, only that has been given a UI to set them in the staff
interface. You could request it be extended:</p>
<p><a class="moz-txt-link-freetext" href="https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/19202060/How+to+Request+a+New+Feature">https://archivesspace.atlassian.net/wiki/spaces/ADC/pages/19202060/How+to+Request+a+New+Feature</a></p>
<p>But I don't think either method will allow you to specify certain
types of notes be created. I could be wrong, but I think you can
only make single-instance text fields mandatory. Possibly an
experienced developer could write a plug-in to analyze the entire
JSON representation of a record, and reject it on any basis you
choose, but it wouldn't be able to highlight precisely what is
missing in red in the staff interface.</p>
<p>Andrew.<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 16/02/2023 19:39, Paige Monlux
wrote:<br>
</div>
<blockquote type="cite" cite="mid:CALVnGiB6Pjeew0rUHu5oxK327BpGwxYJL9g2VuFmkNz7xsTbMw@mail.gmail.com">
<div dir="ltr">Thank you, Kevin! We will look into that!<br clear="all">
<div>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div><font size="2" face="arial, sans-serif" color="#000000"><br>
</font></div>
<div><font size="2" face="arial, sans-serif" color="#000000"><br>
</font></div>
<div><font size="2" face="arial, sans-serif" color="#000000">Paige Monlux <i>(she/her)</i></font><br>
</div>
<div><font size="2" face="arial, sans-serif" color="#000000">Digital Archivist</font></div>
<div dir="ltr">
<div><span style="color:rgb(0,0,0);font-family:arial,sans-serif"><a href="https://www.multco.us/records" target="_blank" moz-do-not-send="true">Multnomah
County (Or.) Archives</a></span><br>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Feb 16, 2023 at 10:37
AM Clair, Kevin <<a href="mailto:kmc35@psu.edu" moz-do-not-send="true" class="moz-txt-link-freetext">kmc35@psu.edu</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="msg-349562863392277883">
<div dir="ltr">
<div style="display:none">External -</div>
<div style="text-align:left">
<img alt="External Sender" src="https://www3.multco.us/ITSecurity/images/external-sender-email_1200x60.png" moz-do-not-send="true" width="650">
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">Hi
Paige,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">You
can do this with plugins, by adding extensions in the
"schemas" directory to add to the default behavior for a
data model.
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">Here's
an example from my previous institution that extends
archival objects so that component_ids are required:
<a href="https://github.com/duspeccoll/plugins_local/blob/master/schemas/archival_object_ext.rb" id="m_-349562863392277883LPlnk976589" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">
https://github.com/duspeccoll/plugins_local/blob/master/schemas/archival_object_ext.rb</a><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255)">-kevin<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_-349562863392277883divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>
<<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>>
on behalf of Paige Monlux <<a href="mailto:paigem@multco.us" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">paigem@multco.us</a>><br>
<b>Sent:</b> Thursday, February 16, 2023 1:14 PM<br>
<b>To:</b> <a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">archivesspace_users_group@lyralists.lyrasis.org</a>
<<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Subject:</b> [Archivesspace_Users_Group] Required
fields for archival and digital objects?</font>
<div> </div>
</div>
<div>
<table style="border:0px;display:table;width:100%;table-layout:fixed;float:none" width="100%" cellspacing="0" cellpadding="0" border="0" align="left">
<tbody style="display:block">
<tr>
<td cellpadding="7px 2px 7px 2px" style="padding:7px
2px;background-color:rgb(166,166,166)" width="1px" valign="middle" bgcolor="#A6A6A6">
<br>
</td>
<td cellpadding="7px 5px 7px 15px" color="#212121" style="width:100%;background-color:rgb(234,234,234);padding:7px 5px 7px
15px;font-family:wf_segoe-ui_normal,"Segoe
UI","Segoe
WP",Tahoma,Arial,sans-serif;font-size:12px;font-weight:normal;color:rgb(33,33,33);text-align:left" width="100%" valign="middle" bgcolor="#EAEAEA">
<div>You don't often get email from <a href="mailto:paigem@multco.us" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">paigem@multco.us</a>.
<a href="https://aka.ms/LearnAboutSenderIdentification" target="_blank" moz-do-not-send="true">
Learn why this is important</a></div>
</td>
<td cellpadding="7px 5px 7px 5px" color="#212121" style="width:75px;background-color:rgb(234,234,234);padding:7px
5px;font-family:wf_segoe-ui_normal,"Segoe
UI","Segoe
WP",Tahoma,Arial,sans-serif;font-size:12px;font-weight:normal;color:rgb(33,33,33);text-align:left" width="75px" valign="middle" bgcolor="#EAEAEA" align="left">
<br>
</td>
</tr>
</tbody>
</table>
<div>
<div dir="ltr">Hi all,
<div><br>
</div>
<div>Is there a way to edit the Required Fields for
resource, archival object, and digital object
records? Similar to how you can with Agent
records. </div>
<div><br>
</div>
<div>Our guidelines require certain sub-records and
notes that aren't by default required by ASpace.
I've set up default values in some of these
required fields, for example our Conditions
Governing Use note. The default value appears when
the CGU note is added, but we'd like it so the CGU
note itself is by default present when the record
is first created. </div>
<div><br>
</div>
<div>Appreciate your help!</div>
<div>Paige</div>
<div>
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><b><font size="2" face="arial,
sans-serif" color="#000000"><br>
</font></b></div>
<div><b><font size="2" face="arial,
sans-serif" color="#000000">Paige
Monlux <i>(she/her)</i></font></b><br>
</div>
<div><b><font size="2" face="arial,
sans-serif" color="#000000">Digital
Archivist</font></b></div>
<div dir="ltr">
<div><span style="color:rgb(0,0,0)"><a href="https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmultco.us%2Frecords&data=05%7C01%7Ckmc35%40psu.edu%7Cc6f07d6cb712417597b308db1049cc3a%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C638121681375259881%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=riYLrWEA5QI%2FrBVLZlg%2BL4Xx5pI36779YWbSlrATpP8%3D&reserved=0" target="_blank" moz-do-not-send="true"><font face="arial, sans-serif">Records
Management
& Archives</font></a></span></div>
<div><font face="arial,
sans-serif" color="#000000">Department
of County
Assets |
Multnomah
County</font></div>
<div><span style="color:rgb(0,0,0);font-family:arial,sans-serif">503.988.3741
| interoffice:
425/Archives</span><br>
</div>
<div><font size="2" face="arial,
sans-serif" color="#000000"><br>
</font></div>
<div><font size="2" face="arial,
sans-serif" color="#000000">Hours:
Mon-Thu
6:30a-4p, Fri
6:30a-3p</font></div>
<div><font size="2" face="arial,
sans-serif" color="#000000">Note:
I am out of
the office
every other
Friday.</font></div>
<div><br>
</div>
<div><font face="arial,
sans-serif" color="#000000"><b>Explore
<a href="https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmultco.access.preservica.com%2F&data=05%7C01%7Ckmc35%40psu.edu%7Cc6f07d6cb712417597b308db1049cc3a%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C638121681375259881%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=U0dLvtnsi5xeSdTTt9lJ9bEfUut8sCrDrH8BinbAN80%3D&reserved=0" target="_blank" moz-do-not-send="true">
Multnomah
County's
Digital
Archives</a>!</b></font></div>
<div><font face="arial,
sans-serif" color="#000000"><b><br>
</b></font></div>
<div><img src="https://multco.us/sites/default/files/styles/small/public/AllAreWelcome_email-signature_PRIDE_ENGLISH.jpg" moz-do-not-send="true" width="96" height="65">
<a href="https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmultco.access.preservica.com%2F&data=05%7C01%7Ckmc35%40psu.edu%7Cc6f07d6cb712417597b308db1049cc3a%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C638121681375259881%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=U0dLvtnsi5xeSdTTt9lJ9bEfUut8sCrDrH8BinbAN80%3D&reserved=0" target="_blank" moz-do-not-send="true">
<img src="https://multco.access.preservica.com/wp-content/uploads/sites/3/2021/06/2021-06-11_6-36-08.png" moz-do-not-send="true" width="96" height="54"></a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
</div>
</blockquote>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Archivesspace_Users_Group mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a>
<a class="moz-txt-link-freetext" href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a>
</pre>
</blockquote>
</body>
</html>