[Archivesspace_Users_Group] Plugins add Multiple SubRecord types?

Joshua D. Shaw Joshua.D.Shaw at dartmouth.edu
Wed Feb 1 17:56:16 EST 2023

Can someone double check me? Just reading the code and it looks like a plugin cannot​ add multiple subrecord types. Specifically, the initializer (https://github.com/archivesspace/archivesspace/blob/master/frontend/config/initializers/plugin.rb) reads one config.yml file which (since its yaml) precludes duplicate key names and hence multiple subrecord types. While I could patch this, there are other places where the config.yml keys are used that would also need to be patched and I'm not sure how far that patching would extend.

If I'm right about no multiple subrecords in one plugin, guess it'll be a separate plugin with a depends_on_plugins entry in the config.yml since I'll be referencing a controlled value list created by another plugin and I don't want to maintain two cv lists that are duplicates.

Its a bummer since the subrecords are intellectually (though not structurally) related.


Joshua Shaw (he, him)
Library Web & Application Developer
Digital Library Technologies Group
Dartmouth College
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20230201/d1f6a988/attachment.html>

More information about the Archivesspace_Users_Group mailing list