Christine, that's great to hear! It will be really nice to start using those options.
James, as for how to fix the issue presently, I just checked and you can indeed override the current exporter in a plugin. The main issue for why you're not seeing a bioghist note in your exports is due to this part of the the core code: https://github.com/archivesspace/archivesspace/blob/master/backend/app/exporters/serializers/eac.rb#L113-L158 The issue is that the default sub note that ASpace uses when you create a bioghist note is a sub note with a type of "note_text". But that "note_text" type is not one of the sub note options in the exporter, and there's no else clause in the above case statement. So, you could either add an option for "note_text" to export that data to paragraph tags, or you could add a catch all that would pick up those note_text sub notes. That said, there would be other things ArchivesSpace would need to do to ensure valid EAC bioghist notes, since right now EAC specifies that an abstract element would have to be the first child element of a biogHist note if it's available. But, the ASpace exporter is just going to put those notes in the order the they're entered. I hope that helps, Mark ________________________________ From: archivesspace_users_group-boun...@lyralists.lyrasis.org <archivesspace_users_group-boun...@lyralists.lyrasis.org> on behalf of Christine Di Bella <christine.dibe...@lyrasis.org> Sent: Friday, April 24, 2020 9:12 AM To: Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org> Subject: Re: [Archivesspace_Users_Group] Request for Assistance with Troubleshooting EAC-CPF Exports for Agent Persons Hi all, Updating the EAC-CPF exporter very substantially is part of the work that’s currently happening for the expansion to the agents module. In fact, the test branch Mark points to (http://aspace-anw-429.lyrtech.org/)<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Faspace-anw-429.lyrtech.org%2F)&data=02%7C01%7Cmark.custer%40yale.edu%7Cb66edc0a3f884a21330308d7e85129ef%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637233307602160562&sdata=X3nCpGCtB0uZ9tj83gsKMW%2FDL15mBmw497Fs1ozeRwc%3D&reserved=0> already has some of the changes to the import side (not complete yet, however), and the export side is next. If anyone’s interested in looking or commenting on the map we’re working off of, it’s available at https://drive.google.com/file/d/1F0RCwl9ZXRoUnT2C6ICuVW42hogzL7RX/view?usp=sharing<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F1F0RCwl9ZXRoUnT2C6ICuVW42hogzL7RX%2Fview%3Fusp%3Dsharing&data=02%7C01%7Cmark.custer%40yale.edu%7Cb66edc0a3f884a21330308d7e85129ef%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637233307602170571&sdata=DThDJQ1ZJkVvA3Lqs53J1V1L4nsDs33CcrqesFqEOdU%3D&reserved=0>. All comments and testing for this work in progress very much welcome! Christine Christine Di Bella ArchivesSpace Program Manager christine.dibe...@lyrasis.org<mailto:christine.dibe...@lyrasis.org> 800.999.8558 x2905 678-235-2905 cdibella13 (Skype) [ASpaceOrgHomeMedium] From: archivesspace_users_group-boun...@lyralists.lyrasis.org <archivesspace_users_group-boun...@lyralists.lyrasis.org> On Behalf Of Custer, Mark Sent: Friday, April 24, 2020 9:05 AM To: Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org> Subject: Re: [Archivesspace_Users_Group] Request for Assistance with Troubleshooting EAC-CPF Exports for Agent Persons James, I haven't had a chance to look into this, but my hunch is that the issue would reside in ArchivesSpace's EAC exporter, not your database. The EAC importer and exporter in ArchivesSpace aren't really finished; you can never (for instance) export a valid EAC record, regardless of the data! I'll try to look into it later today or next week, but I suspect that if you want to export any EAC records from ASpace, then you'll need to use a plugin for that for now. I'm not sure if the issue of EAC imports/exports is part of the updates to agent records (see http://aspace-anw-429.lyrtech.org/<https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Faspace-anw-429.lyrtech.org%2F&data=02%7C01%7Cmark.custer%40yale.edu%7Cb66edc0a3f884a21330308d7e85129ef%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637233307602180557&sdata=wKbjw1N9vi4FglDfCTIps6AdsdsdIrxH507lTcrOv%2Bk%3D&reserved=0>), but I quickly tested imports into that test application a while back and I didn't note any differences from the original EAC importer, so I suspect not. Mark ________________________________ From: archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> <archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>> on behalf of James R Griffin III <j...@princeton.edu<mailto:j...@princeton.edu>> Sent: Friday, April 24, 2020 8:45 AM To: Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>> Subject: Re: [Archivesspace_Users_Group] Request for Assistance with Troubleshooting EAC-CPF Exports for Agent Persons Dear Joshua, Thank you very much for this, but unfortunately, the bioghist note (and its single subnote) are both marked as explicitly published, and I am still not finding the export in the EAC Document. I will proceed by seeing if maybe there are duplicate or problematic entries in the RDBMS backend. Best regards, James ________________________________ From: archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> <archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>> on behalf of Joshua D. Shaw <joshua.d.s...@dartmouth.edu<mailto:joshua.d.s...@dartmouth.edu>> Sent: Thursday, April 23, 2020 12:27 PM To: Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>> Subject: Re: [Archivesspace_Users_Group] Request for Assistance with Troubleshooting EAC-CPF Exports for Agent Persons Hey James- Are the bioghist note(s) published - including any subnotes? Only bioghist notes and their subnotes will get added to the EAC if published. Joshua ________________________________ From: archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> <archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org>> on behalf of James R Griffin III <j...@princeton.edu<mailto:j...@princeton.edu>> Sent: Thursday, April 23, 2020 12:13 PM To: Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org<mailto:archivesspace_users_group@lyralists.lyrasis.org>> Subject: [Archivesspace_Users_Group] Request for Assistance with Troubleshooting EAC-CPF Exports for Agent Persons Hello Everyone, Apologies in advance for any trouble, but I am currently experiencing difficulty attempting to export an EAC-CPF record. Currently there are "Notes" which exist within the database record for the Agent Person (I have verified that these exist in the `note` table within the relational database), but these are not being exported into a EAC-CPF document. I believe that the area of the code base where this is found is in: https://github.com/archivesspace/archivesspace/blob/master/backend/app/exporters/serializers/eac.rb#L109<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Farchivesspace%2Farchivesspace%2Fblob%2Fmaster%2Fbackend%2Fapp%2Fexporters%2Fserializers%2Feac.rb%23L109&data=02%7C01%7Cmark.custer%40yale.edu%7Cb66edc0a3f884a21330308d7e85129ef%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C0%7C637233307602180557&sdata=lcmx1%2BM%2Bfh%2FGVWu6lKBJCgRmKnd3XEPcMI5VdbYF30U%3D&reserved=0> Please let me know if I can provide any further information. Thank you very much for your attention. Sincerely, James
_______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group@lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group