Programmatically load metadata and configurations upon server start

Hi guys!

As we are planning on using SENAITE for one hospital in Haiti, I was wondering if there is a way to programmatically import the metadata upon server start.

By metadata I mean things like Analysis Profiles, Services, Templates, Identifier Types, Products etc…

I know this can be achieved manually by importing the Excel files, but I would need something programmatic so that we can spin up development/staging servers at will.

Thanks

Romain

2 Likes

When you install an addon, Plone looks for some specific functions such as senaite.core/setuphandlers.py at 1.3.x · senaite/senaite.core · GitHub and senaite.core/setuphandlers.py at 1.3.x · senaite/senaite.core · GitHub

Just for the benefit of knowledge, know that providers offer a system setup that already considers your scenario.