systemNav.swapWindow function in instances

Hi

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?

Br
Tommi

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:

http://www.inductiveautomation.com/forum/viewtopic.php?f=70&t=5208&p=13671&hilit=instance#p13671

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