Enable property, need to use an OR statement with indirects

As I am evaluating Ignition I really like the power of the software but I seem to hit snags that seem pretty basic to me. My latest snag has to do with using multiple tags to manipulate properties of an object.

I’ve created a pop-up window for a device. I am passing a device identifier as a parameter to the popup window so the correct tags are referenced based on the device that I click. All well and good.

To make things complicated I have a couple of control buttons on this pop-up and depending on the state of the device these control buttons may need to be enabled or disabled. They can be enabled/disabled based on one or more tag values, I need an indirect expression that will allow me to use multiple logic operators against multiple tags. It does not seem to be possible.

So, if the enable is based on a single tag, I can bind the enable to an indirect tag:
{1}Bit4

However, if I have multiple tags that can enable that control button, I need the enable expression to be something like:

{1}Bit4 || {1}Bit5 (bit 4 OR bit 5) -> enable control button

I tried to create an expression, but I just get a nested error as I tried create the expression:

{{ID}Bit4}||{{ID}Bit5} so this syntax seems to be invalid.

Is this possible? Is there a better method?

here is an example of what you want using a property on the root container of the window. the two tags bool1/bool2 are in a folder named 1234. I pass 1234 into the id property and then if either bool tag is =1 then the button is visible. this code would go in as an expression in the visible or enabled property on the button.

tag({Root Container.id}+ "/bool1") = 1 || tag({Root Container.id}+ "/bool2") = 1

Thanks! I figured there was a way.