This is very helpful. Thank you! -Megan
Megan Mummey Collections Management Archivist Special Collections Research Center University of Kentucky Libraries Margaret I. King Library Lexington, KY 40506-0039 [email protected]<mailto:[email protected]>|859.257.6942 From: [email protected] [mailto:[email protected]] On Behalf Of Galligan, Patrick Sent: Friday, September 02, 2016 1:39 PM To: Archivesspace Users Group <[email protected]> Subject: Re: [Archivesspace_Users_Group] EAD Import Error Megan, If I recall correctly, this isn't actually a bug. But you can easily change it by changing the EAD converter. Modify your ead_converter.rb and add it as a local plugin in plugins/local/backend/model/ead_converter.rb. The code you're looking to change looks something like this: make :note_multipart, { :type => node.name, :persistent_id => att('id'), :publish => att('audience') != 'internal', :subnotes => { :publish => att('audience') != 'internal', 'jsonmodel_type' => 'note_text', 'content' => format_content( content ) } } do |note| set ancestor(:resource, :archival_object), :notes, note end end end A code block like so will automatically publish multipart notes on import. The part that changes this is :publish => att('audience') != 'internal'. Patrick Galligan Rockefeller Archive Center Assistant Digital Archivist 914-366-6386 From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Mummey, Megan Sent: Friday, September 02, 2016 1:14 PM To: Archivesspace Users Group Subject: [Archivesspace_Users_Group] EAD Import Error Hi all, I don't know if this import error has been brought up yet. I just imported an EAD into ArchivesSpace with scope and contents notes on the item-level. The EAD imported with each scope and contents note marked as unpublished in the note level. The text block was marked as publish. See attached screenshot. Has anyone else seen an error like this? Megan Mummey Collections Management Archivist Special Collections Research Center University of Kentucky Libraries Margaret I. King Library Lexington, KY 40506-0039 [email protected]<mailto:[email protected]>|859.257.6942 [cid:[email protected]]
_______________________________________________ Archivesspace_Users_Group mailing list [email protected] http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
