Skip to content
This repository was archived by the owner on Aug 17, 2022. It is now read-only.
/ next_accession Public archive

generates the next accession ID in a sequence according to DU numbering principles

Notifications You must be signed in to change notification settings

duspeccoll/next_accession

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next Accession

This plugin generates the next accession identifier in sequence for the accession year provided by a user, then provides a form where the user may provide the accession title. This process creates a stub accession record in the database, where the user may then provide additional information about the accession being processed.

The University of Denver assigns identifiers to its accessions based on the order in which they are processed in a calendar year. The numbering schema is therefore based on the calendar year, and additionally includes a zero-padded three-digit number identifying the order of that accession's arrival in that calendar year. For example, "2016.100" represents the 100th accession received between 2016 January 1 and 2016 December 31.

How the plugin works

The plugin contains a custom API call that takes as input the year in which the accession was processed. It then gets the list of all accessions in the database, builds an array of just those accessions whose identifiers begin with the year provided, and checks to see what the last number in the sequence is. The API adds one to that number in order to generate the accession ID it then returns.

In the frontend, a user enters the year in which the accession was received:

frontend form where the accession year is entered

Upon clicking the "Submit" button, a second form is presented, containing the accession identifier generated by the plugin. The user may then enter a title for the accession:

frontend form where the accession title is entered

Once the title is entered, clicking "Submit" will generate a new accession record with the provided identifier and title. The user may then provide any additional metadata required to fully describe the accession, in line with the ArchivesSpace and local guidelines for accessions. Clicking "Cancel" will return the user to the plugin index page.

About

generates the next accession ID in a sequence according to DU numbering principles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published