How do I create an indirect property binding? For instance, I have properties value1, value2, and selectedValue. I want to essentially “select” value1 or value2 to display using an indirect property binding with selectedValue.
I see the property() expression function but sadly it’s Perspective only. In Perspective it would be:
Use either the case() or switch() expression functions. If only two choices, consider just using if().
Vision doesn't expose generic runtime property creation so your choices should all be present. (Runtime prop creation is possible, but not easy or supported. Except for Classic Chart datasets.)
If you can get the tags all in the same folder you could then just use standard indirection on the control based off of the value of the selectedItemTag.
Create a custom property bound to the value of the SelectedItemTag and then reference it in the indirect binding.