# How can I open a popup from another popup

**URL:** <https://forum.inductiveautomation.com/t/how-can-i-open-a-popup-from-another-popup/101245>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [January 22, 2025, 6:22pm UTC](https://forum.inductiveautomation.com/t/how-can-i-open-a-popup-from-another-popup/101245 "2025-01-22T18:22:02Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikzitronik1](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@Nikzitronik1](https://forum.inductiveautomation.com/u/Nikzitronik1)\
**Post date:** [January 22, 2025, 6:22pm UTC](https://forum.inductiveautomation.com/t/how-can-i-open-a-popup-from-another-popup/101245/1 "2025-01-22T18:22:02Z")

</div>

Hello I am designing popup faceplates and I want to open a popup from another popup. What is the best way to do it?

---

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [January 22, 2025, 6:37pm UTC](https://forum.inductiveautomation.com/t/how-can-i-open-a-popup-from-another-popup/101245/2 "2025-01-22T18:37:11Z")

</div>

If you are trying to open another instance of the same popup window but with different parameter values you want to use [`system.nav.openWindowInstance`](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-nav/system-nav-openWindowInstance), otherwise just use [`system.nav.openWindow`](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-nav/system-nav-openWindow).

What is supposed to control when this other popup appears? User interaction with a button?

---

<div class="post-metadata">

**Author:** ![Nikzitronik1](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@Nikzitronik1](https://forum.inductiveautomation.com/u/Nikzitronik1)\
**Post date:** [January 22, 2025, 7:00pm UTC](https://forum.inductiveautomation.com/t/how-can-i-open-a-popup-from-another-popup/101245/3 "2025-01-22T19:00:00Z")

</div>

I have a motor faceplate and there is a button that when you press it opens another popup that shows the inhibit conditions for that motor.  
It is not the same popup opening twice.

---

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [January 22, 2025, 7:22pm UTC](https://forum.inductiveautomation.com/t/how-can-i-open-a-popup-from-another-popup/101245/4 "2025-01-22T19:22:44Z")

</div>

> [@Nikzitronik1](#):
>
> It is not the same popup opening twice.

Use `system.nav.openWindow` in the button's `onActionPerformed` script.

---

<div class="post-metadata">

**Author:** ![Panagiotis\_Lampou](https://avatars.discourse-cdn.com/v4/letter/p/ce73a5/32.png) [@Panagiotis\_Lampou](https://forum.inductiveautomation.com/u/Panagiotis_Lampou)\
**Post date:** [January 22, 2025, 7:56pm UTC](https://forum.inductiveautomation.com/t/how-can-i-open-a-popup-from-another-popup/101245/5 "2025-01-22T19:56:17Z")

</div>

Hello guys,

I am working with Nikzitronik on the same project.The motor popup takes all data dynamically from a Motor UDT. The problem occurs when we try to open an additional and separate pop up for each motor. The name of the new pop up has the name of the pump as this information is present in the UDT and can be used to dynamically open the new window. So we use system.nav.openWindow with the path of the folder of new pop ups \ (dynamic name) but it doesn’t work. Any ideas?

---

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [January 22, 2025, 7:57pm UTC](https://forum.inductiveautomation.com/t/how-can-i-open-a-popup-from-another-popup/101245/6 "2025-01-22T19:57:43Z")

</div>

If you are opening multiple of the same base popup window then you need to use `system.nav.openWindowInstance`

> **[Popup Windows | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/ignition-modules/vision/vision-windows/popup-windows#multiple-instances-of-a-popup-window)**
>
> A popup window is typically a window that "floats" on top of the main window. It can be resized and moved around by the user, all while the main window is still open in the background. Popup windows are great for displaying additional information...

---

<div class="post-metadata">

**Author:** ![Panagiotis\_Lampou](https://avatars.discourse-cdn.com/v4/letter/p/ce73a5/32.png) [@Panagiotis\_Lampou](https://forum.inductiveautomation.com/u/Panagiotis_Lampou)\
**Post date:** [January 23, 2025, 8:24am UTC](https://forum.inductiveautomation.com/t/how-can-i-open-a-popup-from-another-popup/101245/7 "2025-01-23T08:24:44Z")

</div>

Ryan thanks for the feedback.

system.nav.openWindowInstance passes the parameters to the new PopUp so that it opens dynamically, but the new PopUp has no parameters. It's a different PopUp window for every Pump.

---

<div class="post-metadata">

**Author:** ![Panagiotis\_Lampou](https://avatars.discourse-cdn.com/v4/letter/p/ce73a5/32.png) [@Panagiotis\_Lampou](https://forum.inductiveautomation.com/u/Panagiotis_Lampou)\
**Post date:** [January 23, 2025, 8:49am UTC](https://forum.inductiveautomation.com/t/how-can-i-open-a-popup-from-another-popup/101245/8 "2025-01-23T08:49:11Z")

</div>

Problem solved.

It was easier than i thought. (I am not familiar with python 🙄)

I used system.nav.openWindow( 'path of second windows' + dynamic name of every second PopUp)

---

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [January 23, 2025, 3:55pm UTC](https://forum.inductiveautomation.com/t/how-can-i-open-a-popup-from-another-popup/101245/9 "2025-01-23T15:55:29Z")

</div>

Glad to hear that you managed to figure it out.

> [@Panagiotis\_Lampou](#):
>
> It's a different PopUp window for every Pump.

Unless each popup contains something wildly different from the others you should be able to make 1 or 2 generic popups, and then pass the pump name to the popup to create an indirect binding to the associated pump UDT members/tags.

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [January 23, 2025, 4:02pm UTC](https://forum.inductiveautomation.com/t/how-can-i-open-a-popup-from-another-popup/101245/10 "2025-01-23T16:02:34Z")

</div>

100% this.

Also... don't embed a UDT Tag in a popup. Or indirectly bind the entire UDT.

Use indirect bindings for each member of the UDT that is needed for the popup, based on a string tag path provided to the popup.
