Dynamically Binding to Multiple Tags

Hello,

I'm working on a vision template where I'm needing to bind to an unkown number of tags.

Essentially, on the template I'll have an ID custom prop which I can use to query a database.
The query will produce a number of tag paths to some boolean tags for which I need to check the value of each and check if any of the values are true. That true or false will be stored in a custom prop to hide or show a component.

I can't think of a way to do this with bindings but I thought I would ask.

My other thought was to use a timer component with a script that polls regularly, though I know that's generally seen as a bad practice.

Any ideas?

Maybe try this module from @pturmel

1 Like