[Archivesspace_Users_Group] EAD Import Error

Galligan, Patrick PGalligan at rockarch.org
Fri Sep 2 13:39:10 EDT 2016


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

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

From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] 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
megan.mummey at uky.edu<mailto:Megan.mummey at uky.edu>|859.257.6942

[cid:image001.jpg at 01D2051F.04AA2430]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20160902/2f171810/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 66328 bytes
Desc: image001.jpg
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20160902/2f171810/attachment.jpg>

More information about the Archivesspace_Users_Group mailing list