<div dir="ltr"><div dir="ltr"><div>Hi Daniel,</div><div><br></div><div>We built a report that includes, among other things, created/modified date/user for all resources.  We also include some other info that's useful for us, such as external links, user defined fields, and collection management data.  Post-lockdown, we also added scopenote and bionote information to aid in targeting remediation efforts.  The data retrieved from the AS API and written to a Google sheet by a script on a nightly basis. The Python code is here: <br></div><div><br></div><div><a href="https://github.com/cul/rbml-archivesspace/blob/master/reporting/resource_reporter.py">https://github.com/cul/rbml-archivesspace/blob/master/reporting/resource_reporter.py</a></div><div><br></div><div>You would need API access and possibly some developer support, but this is an alternative to modifying any AS code. <br></div><div><br></div><div>We took this approach both because these were the tools we knew (Python, Google sheets, scripts), and also because we are hosted -- this keeps our AS instance clean and easy to upgrade.<br></div><div><br></div><div>Kevin<br></div><div><br></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 9, 2020 at 1:48 PM Majewski, Steven Dennis (sdm7g) <<a href="mailto:sdm7g@virginia.edu">sdm7g@virginia.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 style="overflow-wrap: break-word;">On second thought, if you’re not adept with JSON tools, then exporting as CSV and loading in EXCEL to sort and group by created_by might be an easier solution. <div><br></div><div>And the missing translation errors don’t show up in the CSV: </div><div><br></div><div>repository,Albert and Shirley Small Special Collections Library<br><br>record_title,identifier,level,resource_type,publish,restrictions,created_by,create_time,date,extent<br>Jack R. Levien papers,MSS 15241,Collection,,Yes,No,admin,2015-08-11 21:43:13 UTC,"[{""_date"":""Creation: 1960 - 1999, 1960-1999""}]","[{""portion"":""Whole"",""container_summary"":""2 document boxes"",""physical_details"":null,""dimensions"":null,""extent"":""0.80 Cubic Feet""}]"<br>George family papers,MSS 13543,Collection,Papers,Yes,No,admin,2015-08-11 21:43:17 UTC,"[{""_date"":""Creation: 1816 - 1963, 1816-1963""}]","[{""portion"":""Whole"",""container_summary"":""1 document box"",""physical_details"":null,""dimensions"":null,""extent"":""0.50 Cubic Feet""}]"<br>Francis Burton Harrison papers,MSS 14969,Collection,Papers,Yes,No,admin,2015-08-11 21:43:21 UTC,"[{""_date"":""Creation: 1921 - 1945, 1921-1945""}]","[{""portion"":""Whole"",""container_summary"":""1 document box"",""physical_details"":null,""dimensions"":null,""extent"":""0.50 Cubic Feet""}]"<br>Holmes family papers,MSS15167,Collection,,Yes,No,admin,2015-08-11 21:43:24 UTC,"[{""_date"":""Creation: 1766 - 1928, 1908-1975; 1766-1928""}]","[{""portion"":""Whole"",""container_summary"":""4 Hollinger boxes"",""physical_details"":null,""dimensions"":null,""extent"":""934.00 items""}]"<br>Theron H. Rice papers,MSS15247,Collection,,Yes,No,admin,2015-08-11 21:43:28 UTC,"[{""_date"":""Creation: 1877 - 1923, 1877-1923""}]","[{""portion"":""Whole"",""container_summary"":""1 Hollinger box"",""physical_details"":null,""dimensions"":null,""extent"":""70.00 items""}]"<br>Benjamin C. Howland papers,MSS 13748,Collection,,Yes,No,admin,2015-08-11 21:43:31 UTC,"[{""_date"":""Creation: 1941 - 1983, 1941-1983""}]","[{""portion"":""Whole"",""container_summary"":""6 Hollinger boxes"",""physical_details"":null,""dimensions"":null,""extent"":""757.00 items""}]"</div><div><br><div><br><blockquote type="cite"><div>On Dec 9, 2020, at 12:42 PM, Majewski, Steven Dennis (sdm7g) <<a href="mailto:sdm7g@virginia.edu" target="_blank">sdm7g@virginia.edu</a>> wrote:</div><br><div><div style="overflow-wrap: break-word;"><div><br></div>You can just add created_by and create_time ( and perhaps other fields like: last_modified_by, finding_aid_author ) to the resource_list_report.rb :<div><br></div><div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:17px;line-height:normal;color:rgb(223,189,34);background-color:rgba(122,37,30,0.85)"><span style="font-variant-ligatures:no-common-ligatures"><b>diff --git a/reports/resources/resources_list_report/resources_list_report.rb b/reports/resources/resources_list_report/resources_list_report.rb</b></span></div><div style="margin:0px;font-stretch:normal;font-size:17px;line-height:normal;color:rgb(223,189,34);background-color:rgba(122,37,30,0.85)"><span style="font-variant-ligatures:no-common-ligatures"><b>index 96f200fed..ad3a96474 100644</b></span></div><div style="margin:0px;font-stretch:normal;font-size:17px;line-height:normal;color:rgb(223,189,34);background-color:rgba(122,37,30,0.85)"><span style="font-variant-ligatures:no-common-ligatures"><b>--- a/reports/resources/resources_list_report/resources_list_report.rb</b></span></div><div style="margin:0px;font-stretch:normal;font-size:17px;line-height:normal;color:rgb(223,189,34);background-color:rgba(122,37,30,0.85)"><span style="font-variant-ligatures:no-common-ligatures"><b>+++ b/reports/resources/resources_list_report/resources_list_report.rb</b></span></div><div style="margin:0px;font-stretch:normal;font-size:17px;line-height:normal;color:rgb(205,190,151);background-color:rgba(122,37,30,0.85)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(78,210,224)">@@ -9,7 +9,8 @@</span><span style="font-variant-ligatures:no-common-ligatures"> class ResourcesListReport < AbstractReport</span></div><div style="margin:0px;font-stretch:normal;font-size:17px;line-height:normal;color:rgb(205,190,151);background-color:rgba(122,37,30,0.85)"><span style="font-variant-ligatures:no-common-ligatures">                        level_id as level,</span></div><div style="margin:0px;font-stretch:normal;font-size:17px;line-height:normal;color:rgb(205,190,151);background-color:rgba(122,37,30,0.85)"><span style="font-variant-ligatures:no-common-ligatures">                        resource_type_id as resource_type,</span></div><div style="margin:0px;font-stretch:normal;font-size:17px;line-height:normal;color:rgb(205,190,151);background-color:rgba(122,37,30,0.85)"><span style="font-variant-ligatures:no-common-ligatures">                        publish,</span></div><div style="margin:0px;font-stretch:normal;font-size:17px;line-height:normal;color:rgb(86,0,1);background-color:rgba(122,37,30,0.85)"><span style="font-variant-ligatures:no-common-ligatures">-                       restrictions</span></div><div style="margin:0px;font-stretch:normal;font-size:17px;line-height:normal;color:rgb(205,190,151);background-color:rgba(122,37,30,0.85)"><span style="font-variant-ligatures:no-common-ligatures;color:rgb(80,219,57)">+</span><span style="font-variant-ligatures:no-common-ligatures">                       </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(80,219,57)">restrictions,</span></div><div style="margin:0px;font-stretch:normal;font-size:17px;line-height:normal;color:rgb(80,219,57);background-color:rgba(122,37,30,0.85)"><span style="font-variant-ligatures:no-common-ligatures">+                       created_by, create_time</span></div><div style="margin:0px;font-stretch:normal;font-size:17px;line-height:normal;color:rgb(205,190,151);background-color:rgba(122,37,30,0.85)"><span style="font-variant-ligatures:no-common-ligatures">                from resource</span></div><div style="margin:0px;font-stretch:normal;font-size:17px;line-height:normal;color:rgb(205,190,151);background-color:rgba(122,37,30,0.85)"><span style="font-variant-ligatures:no-common-ligatures">                where repo_id = #{db.literal(repo_id)}"</span></div><div style="margin:0px;font-stretch:normal;font-size:17px;line-height:normal;color:rgb(205,190,151);background-color:rgba(122,37,30,0.85)"><span style="font-variant-ligatures:no-common-ligatures">        end</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><br></div><div>And add those to the .yml files in that directory, otherwise you will get something like:</div><div><br></div><div><dl><dt style="float:left;padding:0px;font-weight:bold;margin-right:10px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif">translation missing: en.reports.translation_defaults.created_by</dt><dd style="margin:2px;padding:0px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif">admin</dd><dt style="float:left;padding:0px;font-weight:bold;margin-right:10px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif">translation missing: en.reports.translation_defaults.create_time</dt><dd style="margin:2px;padding:0px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif">2015-08-11 21:43:13 UTC</dd></dl><div><br></div><div>( And we really should add a translation missing fallback to these reports to make customizing easier! ) </div></div><div><br></div><div>That doesn’t make it easily sortable however. That would take more work. </div><div>Alternatively, once you have added those fields, you can use the json output format, and write a script, or use ‘jq’ to sort, group, and format the report before printing. However, if you need to group by author, it might just be simpler to run the report outside of archivesspace as a mysql query. </div><div><br></div><div>If you wanted that sort of grouping as an ArchivesSpace report, you would need to write a new report, restructuring it as a subreport on resources created by each user. </div><div><br></div><div><br></div><div>— Steve M.</div><div><br></div><div><br></div><div><br><blockquote type="cite"><div>On Dec 8, 2020, at 6:51 PM, Cornwall, Daniel D (EED) <<a href="mailto:daniel.cornwall@alaska.gov" target="_blank">daniel.cornwall@alaska.gov</a>> wrote:</div><br><div><div style="font-family:Menlo-Regular;font-size:16px;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 style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Hello,<u></u><u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">After fiddling with the reports module in 2.8 and looking at the documentation in ArchivesSpace help center I want to ask you if your institution keeps track of the number of finding aids that someone enters into ArchivesSpace and if so, how you track that. The Resources List Report  ALMOST fits my purposes but doesn’t list the audit information I’d need to filter when resource records were created or modified.<u></u><u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">If you’re aware of this kind of functionality, or ideally a report that would produced a list of resource records with creation date by users, please let me know. Otherwise I’ll think about other ways to track.<u></u><u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Thanks! - Daneil<u></u><u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">==============================<u></u><u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Daniel Cornwall<u></u><u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Library Technology Consultant / OWL Program Manager<u></u><u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Alaska State Library<u></u><u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">Ph: 907-465-6332<u></u><u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><a href="https://lam.alaska.gov/daniel" target="_blank">https://lam.alaska.gov/daniel</a><u></u><u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></div></div><span style="font-family:Menlo-Regular;font-size:16px;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">_______________________________________________</span><br style="font-family:Menlo-Regular;font-size:16px;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 style="font-family:Menlo-Regular;font-size:16px;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">Archivesspace_Users_Group mailing list</span><br style="font-family:Menlo-Regular;font-size:16px;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" style="font-family:Menlo-Regular;font-size:16px;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" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br style="font-family:Menlo-Regular;font-size:16px;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="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" style="font-family:Menlo-Regular;font-size:16px;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" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a></div></blockquote></div><br></div></div>_______________________________________________<br>Archivesspace_Users_Group mailing list<br><a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br><a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br></div></blockquote></div><br></div></div>_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Kevin Schlottmann<br>Interim Director and Head of Archives Processing<br>Rare Book & Manuscript Library<br>Butler Library, Room 801<br>Columbia University<br>535 W. 114th St., New York, NY  10027<br>(212) 854-8483</div></div></div>