Closed windows with event gateway

I need closed a window with event script (gateway). I am using this comand: system.nav.closeWindow(‘piezas listas’) but it does not work.

Are you running this on the gateway scripts? Then it will never work.

You need to run it as a Client Event script, on a tag change or whatever you have trigger it, to close windows. I’m guessing your client application is not running directly on the server but instead client computers.

1 Like