[Archivesspace_Users_Group] Digital Object Edit Batch
vaddonizio at atlas-sys.com
Thu Dec 16 16:23:09 EST 2021
Steve, a happy trick is to SET system_mtime = NOW() when updating the db, with credit back to the Tech Doc<https://archivesspace.github.io/tech-docs/administration/indexes.html> writers for that lovely tip.
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Majewski, Steven Dennis (sdm7g)
Sent: Thursday, December 16, 2021 4:15 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Digital Object Edit Batch
How are the links encoded ? In file_version/file_uri ?
If that is the case it should be easy to change in MySQL.
( Note that if you make changes to the database via MySQL rather than the API, you will need to trigger a full reindex, as going thru the backdoor doesn’t trigger an individual resource reindex. )
On Dec 16, 2021, at 4:03 PM, Pryse, JA <japryse at ou.edu<mailto:japryse at ou.edu>> wrote:
Hello everyone, I need to batch edit a bunch of digital objects that contain links to an internal content management system. I know that I can import data that created new digital objects and have played around with trying to ‘update’ the files with no luck (in a batch or bulk sense). There are thousands of DOs that need to be edited and cannot do this one at a time. Also, I cannot break the link in anyway shape or form as it does cause a mess. I have copied all of the exported data with links and such to the new CSV but, of course, it just wants to create new records and none of the information in the new csv will be unique to the catalog. I do not want to remove the records and then upload new ones (I did try this on a few) but this broke the links. I have no idea where to go from here.
JA Pryse, Curator and Senior Archivist III
Carl Albert Congressional Research and Studies Center
University of Oklahoma
YouTube: Congressional Archives Carl Albert<https://www.youtube.com/channel/UCOv6GKHVTmllPjIMKlp9lpA>
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Archivesspace_Users_Group