Performs a window swap from the current main screen window to the window specified. Swapping means that the opened window will take the place of the closing window - in this case it will be maximized. See also Navigation Strategies.
This function works like system.nav.swapWindow except that you cannot specify the source for the swap
|Client permissions restrictions|
String path - The path of a window to swap to.
Dictionary[String, Any] params - A dictionary of parameters to pass into the window. The keys in the dictionary must match dynamic property names on the target window's root container. The values for each key will be used to set those properties. [optional]
Window - A reference to the swapped-to window. Refer to the list of window objects.
system nav swapTo, nav.swapTo