Access a Window reference from Gateway Script

Hi All,

Is there a way to obtain a window reference from Gateway Event Scripts?
Something like the return of system.gui.getWindow()
What I want to achieve is to be able to use system.db.refresh() on a Chart Component located in a window from Gateway Event Scripts

Cheers,

To my knowledge, no known way to accomplish that from a Gateway Event Script (scoping and whatnot), but a Client Event Script could certainly work.

Alternatively you can use the message handlers from the gateway scope sending a message to all the clients perhaps check if a window is open then performing a refresh on the component’s data.