Hello, I have a problem where I want to change the boolean value of a variable and navigate to a specific tab.
I tried to solve this by using a “navigate” button, which directs me to the correct tab. I also used event binding to change the value of the variable lock. I’m pretty sure I used the syntax for event binding correctly, but somehow, the page navigates as expected when the button is pressed, but the value of the variable doesn’t change.
Maybe I’m missing something.
Thank you for your help in advance. I hope I was able to explain my question clearly.
If your problem is that it doesnt change from true then its because you’re writing true every time. You have to reset it from the application or use “toggle” function for the boolean.
If your problem is that the variable is always false, look below.
Make sure your eventbinding file is referenced in your .vis fil in config view → mappView. Since your client system action to navigate is working that probably not the issue though.
Make sure the variable youre writing to is not being written to false somewhere else in your application
Make sure your opc ua communication is working. Is your other OPC UA variables being read/written as you would expect?
Note: The opc ua action latches in value in a single cycle, make sure you reset the value from either the application or mappView