Alexander Duryee, he/him
Service Manager, Archives & Special Collections Systems
Technical Services for Archives and Special Collections
Harvard Library Archives, Art, and Special Collections
alexande...@harvard.edu
617-384-0477
Remote: Monday-Friday
HARVARD LIBRARY
Champions of Curiosity
library.harvard.edu
Hi Alex,
I’ve done this. You can change the following line in the refid_rules plugin from true to false. https://github.com/archivesspace/archivesspace/blob/fc923d295d49a1720bac902555407cef665218e1/plugins/refid_rules/backend/model/archival_object.rb - L13
That will cause the refid to be updated every time an object is saved, so you probably want to do it when no one is working in the site. Then you can just read and write back the objects you want to update using the API. When you’re done, change it back to false, restart, and you should be good to go.
I hope this helps.
Brian
--
From:
<archivesspac...@lyrasislists.org> on behalf of "Duryee, Alexander" <alexande...@harvard.edu>
Date: Tuesday, June 3, 2025 at 9:46 AM
To: 'Julia Novakovic' via Archivesspace_Users_Group <archivesspac...@lyrasislists.org>
Subject: [ArchivesSpace Users Group] Regenerating Ref IDs
|
You don't often get email from alexande...@harvard.edu. Learn why this is important |
--
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/DM6PR07MB425238EEB230AB19120D6A5BF36DA%40DM6PR07MB4252.namprd07.prod.outlook.com.
Oops. I mean change it back to true. But you probably figured that out.
Brian