I am trying to figure out how to create a new expression that will monitor a tag based on path input without the provider. ex tagCommand("test/udt") and have it work similar if I used the expression tag("[default]" + {udtPath} + "/tag") so the process is quicker for setting up.
I was able to get the expression to read the tag once, but if the tag value updated, the vision component would not update unless the page was reloaded. I was not using a listener before, but I am trying to figure out how to go down this route. I am not understanding how to use the listener functions or if subscribing is the best route to go down.