Batch upload and/or Linking top containers

22 views
Skip to first unread message

Anna Haywood

unread,
Nov 28, 2025, 12:41:42 PM (5 days ago) Nov 28
to Archivesspac...@lyrasislists.org

Hello all,

 

I was wondering if anyone has tools or hacks for batch creation and linking of top containers?

 

Specifically, we often need to create between 50-300 top containers and link them to 1 accession record. It is so much work to create the top containers one-by-one and then link them to the accession. Before we explore the API, is there something I am missing?

 

Any and all suggestions are welcome!!

 

Thanks so much,

Anna

---

Anna Haywood
Archiviste
Archivist

Centre Canadien d'Architecture
Canadian Centre for Architecture

1920, rue Baile, Montréal, Québec, Canada, H3H 2S6
+1 5149397001x1368
cca.qc.ca
Twitter | Instagram | Facebook | YouTube

Comment aborder la conception architecturale aujourd’hui?
How do we understand the making of architecture today?

Inscrivez-vous pour recevoir de nos nouvelles.
Sign up to get news from us.

Brian Thomas

unread,
Dec 1, 2025, 9:14:22 AM (2 days ago) Dec 1
to Anna Haywood, Archivesspac...@lyrasislists.org

I use the API to generate the containers, grab the UUID of the container when it is being created and then harvest down and plug that data into the accession record. I get a little concerned with top containers numbering greater than 250 because I once completely crashed the system with an over 350 container count.

 

To perform the task you need python on your computer, ArchiveSnake and a few other libraries and the ability to access your system API.

If you can do that, try something like this script: https://github.com/brianmatthewthomas/archivesSpace/blob/master/topContainer_generateFromTransferSheet.py. The script cuts the pairing at 200. I can send you an off-list copy of the spreadsheet template the script pulls your data from.

 

You will need to modify the script to the specifics of your system. If you’ve never used the API, it is worth the learning curve to do so. I generated something like 17k top containers with paired locations in a few hours a couple of month back to populate our stacks data. Could have been a couple of minutes but I wanted to be cautious.

 

Hope this helps.

 

Brian Thomas

Electronic Records Archivist | Archives and Information Services Division

Texas State Library and Archives Commission

512-475-3374 | www.tsl.texas.gov

--
You received this message because you are subscribed to the Google Groups "Archivesspace_Users_Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Archivesspace_User...@lyrasislists.org.
To view this discussion visit https://groups.google.com/a/lyrasislists.org/d/msgid/Archivesspace_Users_Group/YT2PR01MB4368B68F28BE05E02781F3F989DCA%40YT2PR01MB4368.CANPRD01.PROD.OUTLOOK.COM.

Reply all
Reply to author
Forward
0 new messages