<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Cory,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I just tested this out with a new build of ASpace, since I knew this worked before!  At first I didn't get it to work either, but that was because I just copied over one of your examples as is.  When I looked at the ASpace JSON records, though, I realized that
 your genreform example just needed to be changed slightly so that the type match was looking for "genre_form" instead, i.e.:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>    {<br>
</span>
<div>      :property => "subjects",<br>
</div>
<div>      :inherit_if => proc {|json| json.select {|j| ! j['_resolved']['terms'].select { |t| t['term_type'] == 'genre_form'}.empty? } },<br>
</div>
<div>      :inherit_directly => true<br>
</div>
<span>    }</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif"><span style="caret-color: rgb(0, 0, 0);">I</span></font><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="3"> didn't test any of the other mappings (or the "skip_if"
 parameters), so I can't say if all of those term types are accurate or not, but I definitely got this one to inherit once I added the underscore to the term type.</font></div>
<div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="3"><br>
</font></div>
<div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="3">I hope that helps,</font></div>
<div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="3"><br>
</font></div>
<div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="3">Mark</font></div>
<div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="3"><br>
</font></div>
<div><br>
</div>
<div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="3"><br>
</font></div>
<div><font color="#000000" face="Calibri, Arial, Helvetica, sans-serif" size="3"><br>
</font></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of James Bullen
 <james@hudmol.com><br>
<b>Sent:</b> Wednesday, February 19, 2020 10:14 PM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] PUI inheritance configuration</font>
<div> </div>
</div>
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div class=""><br class="">
</div>
Hi Cory,
<div class=""><br class="">
</div>
<div class="">It’s been some years since this was in my head, but it looks good.</div>
<div class=""><br class="">
</div>
<div class="">The :inherit_if on the first rule should be selecting all subjects that have at least one term with a ‘genreform’ type.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Cheers,</div>
<div class="">James</div>
<div class=""><br class="">
</div>
<div class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Feb 20, 2020, at 1:37 AM, Cory Nimer <<a href="mailto:cory_nimer@byu.edu" class="">cory_nimer@byu.edu</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<div class="">
<div class="x_WordSection1" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
James,</div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
To my knowledge, a complete reindex was done following the changes (other changes in note inheritance did appear as anticipated). However, the subject inheritance did not seem to work. Are the inheritance statements below structured correctly, or are there
 other reasons that these elements would not be visible in the interface?</div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Best,</div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Cory</div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
<div class="">
<div class="" style="border-style:solid none none; border-top-width:1pt; border-top-color:rgb(225,225,225); padding:3pt 0in 0in">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<b class="">From:</b><span class="x_Apple-converted-space"> </span><a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" class="" style="color:blue; text-decoration:underline">archivesspace_users_group-bounces@lyralists.lyrasis.org</a><span class="x_Apple-converted-space"> </span><<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org" class="" style="color:blue; text-decoration:underline">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>><span class="x_Apple-converted-space"> </span><b class="">On
 Behalf Of<span class="x_Apple-converted-space"> </span></b>James Bullen<br class="">
<b class="">Sent:</b><span class="x_Apple-converted-space"> </span>Tuesday, February 18, 2020 6:49 PM<br class="">
<b class="">To:</b><span class="x_Apple-converted-space"> </span>Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org" class="" style="color:blue; text-decoration:underline">archivesspace_users_group@lyralists.lyrasis.org</a>><br class="">
<b class="">Subject:</b><span class="x_Apple-converted-space"> </span>Re: [Archivesspace_Users_Group] PUI inheritance configuration</div>
</div>
</div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
</div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Hi Cory,</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Have you reindexed?</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
The PUI runs exclusively from the PUI index so these changes won’t take effect until the relevant records have been reindexed.</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Cheers,</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
James</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<br class="">
<br class="">
</div>
<blockquote class="" style="margin-top:5pt; margin-bottom:5pt">
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
On Feb 19, 2020, at 2:26 AM, Cory Nimer <<a href="mailto:cory_nimer@byu.edu" class="" style="color:blue; text-decoration:underline">cory_nimer@byu.edu</a>> wrote:</div>
</div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
<div class="">
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
We are continuing to tweak our PUI configuration, and are interested in testing inclusion of subject terms. Based on the configuration template, our IT staff have attempted to add the code below but it does not appear to be working after a restart and reindex:<span class="x_apple-converted-space"> </span></div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
{</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
  :property => 'subjects',</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
  :inherit_if => proc {|json| json.select {|j| ! j['_resolved']['terms'].select { |t| t['term_type'] == 'genreform'}.empty? } },</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
  :inherit_directly => true</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
},<span class="x_apple-converted-space"> </span></div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
{</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
  :property => 'subjects',</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
  :skip_if => proc {|json| ['file', 'item'].include?(json['level']) },</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
  :inherit_if => proc {|json| json.select {|j| ! j['_resolved']['terms'].select { |t| t['term_type'] == 'topical'}.empty? } },</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
  :inherit_directly => true</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
},<span class="x_apple-converted-space"> </span></div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
{</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
  :property => 'subjects',</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
  :skip_if => proc {|json| ['file', 'item'].include?(json['level']) },</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
  :inherit_if => proc {|json| json.select {|j| ! j['_resolved']['terms'].select { |t| t['term_type'] == 'title'}.empty? } },</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
  :inherit_directly => true</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
},<span class="x_apple-converted-space"> </span></div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
{</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
  :property => 'subjects',</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
  :skip_if => proc {|json| ['file', 'item'].include?(json['level']) },</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
  :inherit_if => proc {|json| json.select {|j| ! j['_resolved']['terms'].select { |t| t['term_type'] == 'geogname'}.empty? } },</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
  :inherit_directly => true</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
},<span class="x_apple-converted-space"> </span></div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Has anyone else successfully included subject terms in their PUI inheritance configuration, or have suggestions for what might be wrong? We are currently running version 2.5.1.</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Thanks,</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Cory Nimer</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
University Archivist</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Brigham Young University</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
801-422-6091</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
</div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:10.5pt; font-family:Helvetica,sans-serif">_______________________________________________<br class="">
Archivesspace_Users_Group mailing list<br class="">
</span><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="" style="color:blue; text-decoration:underline"><span class="" style="font-size:10.5pt; font-family:Helvetica,sans-serif">Archivesspace_Users_Group@lyralists.lyrasis.org</span></a><span class="" style="font-size:10.5pt; font-family:Helvetica,sans-serif"><br class="">
</span><a href="https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Flyralists.lyrasis.org%2Fmailman%2Flistinfo%2Farchivesspace_users_group&data=02%7C01%7Cmark.custer%40yale.edu%7C86f6c1dbfef9474042ed08d7b5b30258%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637177652762750696&sdata=XSXTugZ21T4%2FdwuIv5KWuG9TmB4rwSRJ%2BwQT9QNWd5s%3D&reserved=0" originalsrc="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" shash="CPuNCAeEahU7S+Rlji8NkXs+nEbigWkfqNcWvAnZc0da1+PgeHo3D8gsC5dcRcE9rnEvXIv9eo7JVfykW8GmRD1xlzWt2q6ESfWn6VY37+QrmfChrtMY6OHaw8Y+tLyAfUoZxtAOhQXdx9hPknloRWfDrBn7SbtI/0AHKF0IOvE=" class="" style="color:blue; text-decoration:underline"><span class="" style="font-size:10.5pt; font-family:Helvetica,sans-serif">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</span></a><span class="" style="font-size:10.5pt; font-family:Helvetica,sans-serif"><br class="">
<br class="">
<br class="">
!DSPAM:5e4c053f111932459259872!</span></div>
</div>
</blockquote>
</div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </div>
</div>
</div>
<span class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">!DSPAM:5e4d482a179227770718730!<span class="x_Apple-converted-space"> </span></span><span class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">_______________________________________________</span><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">Archivesspace_Users_Group
 mailing list</span><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" class="" style="color:blue; text-decoration:underline; font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Flyralists.lyrasis.org%2Fmailman%2Flistinfo%2Farchivesspace_users_group&data=02%7C01%7Cmark.custer%40yale.edu%7C86f6c1dbfef9474042ed08d7b5b30258%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637177652762750696&sdata=XSXTugZ21T4%2FdwuIv5KWuG9TmB4rwSRJ%2BwQT9QNWd5s%3D&reserved=0" originalsrc="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" shash="CPuNCAeEahU7S+Rlji8NkXs+nEbigWkfqNcWvAnZc0da1+PgeHo3D8gsC5dcRcE9rnEvXIv9eo7JVfykW8GmRD1xlzWt2q6ESfWn6VY37+QrmfChrtMY6OHaw8Y+tLyAfUoZxtAOhQXdx9hPknloRWfDrBn7SbtI/0AHKF0IOvE=" class="" style="color:blue; text-decoration:underline; font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">!DSPAM:5e4d482a179227770718730!</span><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-variant-caps:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>