# Parameterized Popup window

**URL:** <https://forum.inductiveautomation.com/t/parameterized-popup-window/26265>\
**Category:** Ignition\
**Created:** [July 3, 2019, 3:21pm UTC](https://forum.inductiveautomation.com/t/parameterized-popup-window/26265 "2019-07-03T15:21:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![oisin.gribben](https://avatars.discourse-cdn.com/v4/letter/o/9d8465/32.png) [@oisin.gribben](https://forum.inductiveautomation.com/u/oisin.gribben)\
**Post date:** [July 3, 2019, 3:21pm UTC](https://forum.inductiveautomation.com/t/parameterized-popup-window/26265/1 "2019-07-03T15:21:32Z")

</div>

I have created a popup window with “TagPath” as a parameter. I am trying to pass some data into it but it doesn’t seem to be passing anything.  
below is the code.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/bfa4aa7c6e178e24e71bc0de0f0ed5264dfada11.png)

---

<div class="post-metadata">

**Author:** ![chasondeshotel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/chasondeshotel/32/20032_2.png) [@chasondeshotel](https://forum.inductiveautomation.com/u/chasondeshotel)\
**Post date:** [July 3, 2019, 4:53pm UTC](https://forum.inductiveautomation.com/t/parameterized-popup-window/26265/2 "2019-07-03T16:53:30Z")

</div>

Since you’re not complaining about an error, I imagine you’ve set up the Custom Property on the popup window:

![param2](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/7f018b574a201602fad3487d4c0a041ea68e2617.png)

![param1](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/d1e77db72d29248be7aa53c7601b845401c8d0fd.png)

If that’s not the problem, I would make sure param1 contains what you want… something like `print event.source.TagPath` or `print param1` on line 7, then check the console

---

<div class="post-metadata">

**Author:** ![oisin.gribben](https://avatars.discourse-cdn.com/v4/letter/o/9d8465/32.png) [@oisin.gribben](https://forum.inductiveautomation.com/u/oisin.gribben)\
**Post date:** [July 4, 2019, 9:48am UTC](https://forum.inductiveautomation.com/t/parameterized-popup-window/26265/3 "2019-07-04T09:48:56Z")

</div>

> [@chasondeshotel](#):
>
> 1

I have the property in the popup window.  
I added that line into the script but nothing shows up in the console.

---

<div class="post-metadata">

**Author:** ![chasondeshotel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/chasondeshotel/32/20032_2.png) [@chasondeshotel](https://forum.inductiveautomation.com/u/chasondeshotel)\
**Post date:** [July 5, 2019, 3:58pm UTC](https://forum.inductiveautomation.com/t/parameterized-popup-window/26265/4 "2019-07-05T15:58:41Z")

</div>

So it sounds like param1 isn’t getting loaded up with data

Have you tried just sending a string?

`window = system.nav.openWindow('ItemConfig', {'TagPath' : 'test tag path'}`

?

If that works then you know for sure param1 is just empty

I should have had you do `print 'param1: ' + param1` because it would be more apparent if param1 was empty or not
