ViewModel Instances: how to change active instance with enum property?

I’m currently facing a bit of a roadblock.

I would like to control the active instance of VM2 from the enum property of VM1. Essentially “VM1→enum” = “VM2 Instance”. This would allow me to swap the content of VM2 based on a change of input in another artboard, similar to a basic CMS or instance-swapping.

Here an example:
I have a map with dots to show partner locations. The “Map” artboard is controlled by View Model “Main”. In VM Main, the enum property “activeArea” controls the selected dot (view video).
Next to the map, is a card showing partner information (company logo, category & description). The “Card” artboard has its own “Contents” View Model, with an instance for each partner variant (view table), following the same naming of “activeArea”.
I would like to have VM Main “activeArea” property set the correct instance of VM Contents, so when “activeArea” = CRCL then VM Contents Instance = “CRCL” and so on.

Is this doable? If not, is there an alternative solution or does the logic need to be handled in code?

Thanks


Rive - Editor - Google Chrome 2026-04-28 10-11-20 - Trim.mp4