Excellent!

Cheers James!

Mike

From: [email protected] 
<[email protected]> On Behalf Of James 
Bullen
Sent: Tuesday, April 19, 2022 7:49 PM
To: Archivesspace Users Group <[email protected]>
Subject: Re: [Archivesspace_Users_Group] Sharing/previewing Accession Records


Thanks Mike - I just pushed a commit that should fix the hard dependency on 
material_types:
https://github.com/hudmol/yale_accession_slips/commit/9dbd43b<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhudmol%2Fyale_accession_slips%2Fcommit%2F9dbd43b&data=05%7C01%7Cmichael.rush%40yale.edu%7C387b00eca62043dbc83608da225f3c47%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637860090288574289%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=54tGB7akhR36o4weCPP30ZguuXEhok6eaBTAQ45MS4w%3D&reserved=0>

I haven't tested it, but it should be fine ;)



Cheers,
James



On Apr 20, 2022, at 1:22 AM, Rush, Michael 
<[email protected]<mailto:[email protected]>> wrote:

>From the error log it seems that our print accession record plugin is 
>dependent on the material types 
>plugin<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhudmol%2Fmaterial_types&data=05%7C01%7Cmichael.rush%40yale.edu%7C387b00eca62043dbc83608da225f3c47%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637860090288574289%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qcOo8tASJNEF7QmRvARRIheGlfP0V2FTzC7uwBhpids%3D&reserved=0>
> HM also developed for us. So I don't think it's a problem with the ASpace 
>version, rather the mutual dependency between our plugins.

If you are comfortable forking and mucking about in the code, It probably 
wouldn't been too hard to remove the references to that plugin.

Mike

From: 
[email protected]<mailto:[email protected]>
 
<[email protected]<mailto:[email protected]>>
 On Behalf Of Schanz, Megan
Sent: Tuesday, April 19, 2022 11:11 AM
To: Archivesspace Users Group 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Archivesspace_Users_Group] Sharing/previewing Accession Records

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: 
[email protected]<mailto:[email protected]>
 
<[email protected]<mailto:[email protected]>>
 on behalf of Busch, Ed <[email protected]<mailto:[email protected]>>
Sent: Tuesday, April 19, 2022 10:54 AM
To: Archivesspace Users Group 
<[email protected]<mailto:[email protected]>>
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: 
[email protected]<mailto:[email protected]>
 
<[email protected]<mailto:[email protected]>>
 On Behalf Of Rush, Michael
Sent: Tuesday, April 19, 2022 8:36 AM
To: Archivesspace Users Group 
<[email protected]<mailto:[email protected]>>
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://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2Fgithub.com%2Fhudmol%2Fyale_accession_slips__%3B!!HXCxUKc!mZfjqhvbYB0Kd3ItcKm_rIko0gz2iXUefan_t8dByo0Vq5MbKbu2pkrBgiZYsk0%24&data=05%7C01%7Cmichael.rush%40yale.edu%7C387b00eca62043dbc83608da225f3c47%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637860090288574289%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=DvItHJPiLN54hYpkL9eW7q%2BwHe36X0fk3XUDBKQWY6A%3D&reserved=0>.

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://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2Fbeinecke.library.yale.edu%2Finformation-booksellers__%3B!!HXCxUKc!mZfjqhvbYB0Kd3ItcKm_rIko0gz2iXUefan_t8dByo0Vq5MbKbu2pkrBD0z8AlA%24&data=05%7C01%7Cmichael.rush%40yale.edu%7C387b00eca62043dbc83608da225f3c47%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637860090288574289%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=AKSTOqzRgTZzhqUv47prNa2yvKiKurRxbrAMYiVUxsc%3D&reserved=0>
Information for Donors: 
https://beinecke.library.yale.edu/giving-beinecke-library<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2Fbeinecke.library.yale.edu%2Fgiving-beinecke-library__%3B!!HXCxUKc!mZfjqhvbYB0Kd3ItcKm_rIko0gz2iXUefan_t8dByo0Vq5MbKbu2pkrBo4or7Jg%24&data=05%7C01%7Cmichael.rush%40yale.edu%7C387b00eca62043dbc83608da225f3c47%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637860090288574289%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=nBvefJ8SIZmF6cdLnCCTcmhSSGYbesifIFMGCKvMoCA%3D&reserved=0>



From: 
[email protected]<mailto:[email protected]>
 
<[email protected]<mailto:[email protected]>>
 On Behalf Of McLaughlin, Brianna Jean
Sent: Friday, April 15, 2022 2:51 PM
To: Archivesspace Users Group 
<[email protected]<mailto:[email protected]>>
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

_______________________________________________
Archivesspace_Users_Group mailing list
[email protected]<mailto:[email protected]>
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flyralists.lyrasis.org%2Fmailman%2Flistinfo%2Farchivesspace_users_group&data=05%7C01%7Cmichael.rush%40yale.edu%7C387b00eca62043dbc83608da225f3c47%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637860090288574289%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=2eo3clm5pgGC4mPZdA5ZHNV4lRDt8bFn5CZRp%2Fpox58%3D&reserved=0>

_______________________________________________
Archivesspace_Users_Group mailing list
[email protected]
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

Reply via email to