[Archivesspace_Users_Group] Default checked items in EAD export

Noah Huffman noah.huffman at duke.edu
Tue Nov 5 14:28:15 EST 2019


Hi Mike,

I don't believe there is a way to change these defaults in the staff interface itself, but I wrote a plugin to do this: https://github.com/duke-libraries/archivesspace-duke-export-option-defaults

Assuming you can install plugins, you can easily modify this to supply your desired defaults.

For example, to exclude DAOs by default, just remove the checked="checked" bit from this line:
https://github.com/duke-libraries/archivesspace-duke-export-option-defaults/blob/master/frontend/views/resources/_toolbar.html.erb#L18

-Noah

================
Noah Huffman
Archivist for Metadata, Systems, and Digital Records
David M. Rubenstein Rare Book & Manuscript Library
Duke University | 919-660-5982
http://library.duke.edu/rubenstein/


-----Original Message-----
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Mike McDermott
Sent: Tuesday, November 5, 2019 2:03 PM
To: archivesspace_users_group at lyralists.lyrasis.org
Subject: [Archivesspace_Users_Group] Default checked items in EAD export

Greetings All -
I'd like to change the items that are checked by default when someone exports an EAD file from the staff interface - Does anyone know how that would be done?
Thanks...
Mike McDermott



More information about the Archivesspace_Users_Group mailing list