@marsin99 This can be done with code.
There’s an example from our team and a post in the forum for galleries as well.