An ArchivesSpace plugin that integrates with RefTracker, supporting importing records as Accessions.
Developed by Hudson Molonglo for the National Library of Australia.
© 2022-2024 Hudson Molonglo Pty Ltd.
This plugin was developed against ArchivesSpace v3.3.1. Although it has not been tested against other versions, it will probably work as expected on all 2.x and 3.x versions.
This plugin has no special installation requirements. It has no database migrations and no external gems.
-
Download the latest release.
-
Unpack it into
/path/to/your/archivesspace/plugins/
-
Add the plugin to your
config.rb
like this:AppConfig[:plugins] << 'as_reftracker'
-
Add lines to the ArchivesSpace
config.rb
:AppConfig[:reftracker_base_url] = 'https://path/to/your/reftracker/api' AppConfig[:reftracker_mandatory_fields] = { Your list of ArchivesSpace equivalents for Reftracker mandatory fields to be imported } e.g. "accession_number_1, accession_accession_date, agent_role, agent_type, agent_contact_name, agent_name_name_order, agent_name_source, subject_source, subject_term, subject_term_type" AppConfig[:reftracker_search_api_key] = { Your Reftracker API key for search (set via Reftracker UI) } AppConfig[:reftracker_get_question_api_key] = { Your Reftracker API key for get_question (set via Reftracker UI) }
-
Restart ArchivesSpace
To confirm installation has been successful, click to open the Plug-ins
dropdown in the application toolbar (top right of page). You should see a
RefTracker Offers
option.
- Click on
Plug-ins
>RefTracker Offers
- Offers with identifiers that are not already in AS are shown in reverse Offer Number order
- Offers can also be found individually by Offer Number
- Click the checkboxes next to the Offers you would like to import
- Click the
Import
button