Vision template, styles not working as expected

Hey all,

I'm trying to change the image that's displayed in a template based on the integer value of one of my tags, see image 1. The custom property, VPFMode, is indirectly bound to my 'mode' tags, see image 2.

The issue is, changing the value of the mode tags is not resulting in the images I set up in the style customizer appearing. You can see in image 3 that the modes are difference but the images remain the same. Also - I'm noticing that when I change the 'mode' tag value, my style property is reset.

Any ideas?



I tried a different method.
Created a Custom Property, then bind the Image Path to the Cutom Property.
Use Case to do the same thing as you did in Cutom Style.
It works too. I've tested it in vision.

Hey Andrew,
This worked for me, thanks!

This definitely doesn't feel like the intended way to do this though. Still really curious as to why I couldn't get the custom styles method to work.

Thanks again!