Is it possible to give the panel custom blueprint?

Hey :wave:t2:

Is it possible to somehow give panel a blueprint from code? What I mean - instead of loading yaml file, the panel should run some code-in this case a database query-and get the blueprint that way?

(I assume that yaml is internally converted to json upon loading)

Thanks :pray:

No, you need the yaml files, unless you somehow generate them via code or create custom views.

So no runtime blueprints? :frowning:

Wait, no; reading the source code and documentation in here: https://getkirby.com/docs/reference/plugins/extensions/blueprints, there actually is a way to programmatically create a blueprint… woo :tada:

Thanks @texnixe anyway :heart: