Load layout programmatically in unreal engine

how can I load a layout or a config file programmatically in unreal engine?

You can have a DataTable with your layouts classes, then you get/find the row that you want on code to create your widget.
I’m not sure if it’s this the solution that you are looking for, but this is a friendly way to get your Blueprint Widgets on code without break references.