Re: [Archivesspace_Users_Group] Plugins add Multiple SubRecord types?

2023-02-28 Thread Joshua D. Shaw
From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Andrew Morrison Sent: Friday, February 17, 2023 5:43 AM To: archivesspace_users_group@lyralists.lyrasis.org Subject: Re: [Archivesspace_Users_Group] Plugins add Multiple SubRecord types? That has been my

Re: [Archivesspace_Users_Group] Plugins add Multiple SubRecord types?

2023-02-17 Thread Andrew Morrison
That has been my experience. If there is another way, it'd be really useful if someone could write a reference implementation, because picking apart other people's plug-ins (or multiple interdependent plugins) for generic techniques like this isn't easy. Andrew. On 01/02/2023 22:56,

[Archivesspace_Users_Group] Plugins add Multiple SubRecord types?

2023-02-01 Thread Joshua D. Shaw
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)