what about the possibility to develop a custom widget able to generate renders with dynamic layers?
Something like this
where the user has also the possibility, client side, to change also the type of render (e.g. unique or quantiles, number of classes, the fileds, etc...)
An example here: