I`d like to open popup window by bit value change.
I tried:
system.nav.openWindow("MyPopUP")
But, It doesn`t work. How to do it?
I`d like to open popup window by bit value change.
I tried:
system.nav.openWindow("MyPopUP")
But, It doesn`t work. How to do it?
You'd need to tell us where you placed this code and what exactly the bit is.
You are trying to use a tag event, which runs in the gateway service, with a navigation function that must run in the Vision Client. No can do.
Instead, use Client Tag Change event to monitor the tag inside the Vision Client, and it will be able to use the navigation function.
Thank you, It works.
What if I want to use Perspective? There is no "Client Events".
Perspective can use a custom session property to bind the tag of interest, then use a property change event on it to run a suitable script. That script will have to loop through the pages of the session to have a context into which to launch a popup.
Almost nothing is done precisely the same in Perspective as in Vision.