systemNav.swapWindow function in instances


I am open multiple intances of same window with different bindings.
This works fine but I would like to also swap window to another one and still keeping other instances open.
It seems to be working but some times it closes all same name windows = all instances.
Is there any way to avoid this?


I was unable to reproduce the problem you are having with the information that you have posted. I may be misunderstanding the exact circumstances where you are running into this problem. If you could post more detailed information about your problem that would help a lot.

Yes, there is a way to avoid this issue. Take a look at this thread that talks about the issue more:

Basically, the openWindowInstance returns a window object you can store to swap or close later. Hope this helps.