[Archivesspace_Users_Group] Sharing/previewing Accession Records

Schanz, Megan schanzme at msu.edu
Tue Apr 19 11:11:09 EDT 2022


Hi all,

We just tested the plugin with v3.1.1 and it doesn't appear to be compatible with that version. This is the error that was logged:

I, [2022-04-19T11:06:07.887728 #60]  INFO -- :   Rendered /archivesspace/plugins/yale_accession_slips/frontend/views/accessions/_non_print_slip.fo.erb (21.5ms)
I, [2022-04-19T11:06:07.889132 #60]  INFO -- : Completed 500 Internal Server Error in 292ms
F, [2022-04-19T11:06:07.890814 #60] FATAL -- :
F, [2022-04-19T11:06:07.890989 #60] FATAL -- : ActionView::Template::Error (undefined method `material_types' for #<JSONModel(:accession):0x266e28cd>):
F, [2022-04-19T11:06:07.891767 #60] FATAL -- :     206:           <% end %>
    207:         </fo:block>
    208:       <% end %>
    209:       <% if @accession.material_types %>
    210:         <fo:block space-before="8pt">
    211:           <fo:block font-weight="bold">MATERIAL TYPES</fo:block>
    212:           <fo:block>
F, [2022-04-19T11:06:07.891879 #60] FATAL -- :
F, [2022-04-19T11:06:07.892240 #60] FATAL -- : app/controllers/application_controller.rb:797:in `set_locale'



- Megan



_____________________________________

Megan Schanz
Application Developer & Systems Administrator
Michigan State University Libraries

________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Busch, Ed <buschedw at msu.edu>
Sent: Tuesday, April 19, 2022 10:54 AM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Sharing/previewing Accession Records


Well, darn, something broke in it. Apparently not tested with newer versions of ASpace. What version are we on? Can you see if anything popped up in the log? It added a “Print Accession Record” button under More in the Accession functions.



The author wanted to know if it worked so I might as well share the debug if any.



Thanks!



From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Rush, Michael
Sent: Tuesday, April 19, 2022 8:36 AM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Sharing/previewing Accession Records



Hi Bri,



We have a similar use case at Yale. We often print our accession records to accompany new acquisitions through the processing and cataloging workflow. In order to save paper and print out reasonably formatted copies of accession records we contracted with Hudson Molonglo to develop a plugin. See https://github.com/hudmol/yale_accession_slips<https://urldefense.com/v3/__https:/github.com/hudmol/yale_accession_slips__;!!HXCxUKc!mZfjqhvbYB0Kd3ItcKm_rIko0gz2iXUefan_t8dByo0Vq5MbKbu2pkrBgiZYsk0$>.



The plugin adds a “Print accession record” option under the “More” menu in the accession record view. This creates a PDF of the accession record.



We make use of a number of user-defined fields in our accession records, and the layout of the PDF incorporates those, so this plugin might not work perfectly for your local implementation. But you could give it a try, or fork it and tweak it to meet your needs.



Best,



Mike

____________________________________

Michael Rush

Assistant Head of the Manuscript Unit

Beinecke Rare Book and Manuscript Library

Yale University

203-432-8123

[he | him | his]



Information for Booksellers: https://beinecke.library.yale.edu/information-booksellers<https://urldefense.com/v3/__https:/beinecke.library.yale.edu/information-booksellers__;!!HXCxUKc!mZfjqhvbYB0Kd3ItcKm_rIko0gz2iXUefan_t8dByo0Vq5MbKbu2pkrBD0z8AlA$>

Information for Donors: https://beinecke.library.yale.edu/giving-beinecke-library<https://urldefense.com/v3/__https:/beinecke.library.yale.edu/giving-beinecke-library__;!!HXCxUKc!mZfjqhvbYB0Kd3ItcKm_rIko0gz2iXUefan_t8dByo0Vq5MbKbu2pkrBo4or7Jg$>







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 McLaughlin, Brianna Jean
Sent: Friday, April 15, 2022 2:51 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: [Archivesspace_Users_Group] Sharing/previewing Accession Records



Hi everyone,



Could anyone share methods for sharing full Accession records outside of ArchivesSpace? We don’t utilize the AS PUI, and we are not using any sort of endpoint for Accession records. Ideally, we would have something like a print preview that we could share. It doesn’t look like any of the reports do this, and the Generate PDF function is only for Resources (at least for our version of AS 2.7.1).



Thanks!



Bri McLaughlin, she/her/hers

Visiting Metadata Services Librarian

Indiana University

812-856-3321


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20220419/79495133/attachment.html>


More information about the Archivesspace_Users_Group mailing list