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. Thanks! Joshua ___________________ Joshua Shaw (he, him) Library Web & Application Developer Digital Library Technologies Group Dartmouth College 603.646.0405
_______________________________________________ Archivesspace_Users_Group mailing list Archivesspace_Users_Group@lyralists.lyrasis.org http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group